I’m having an issue on a project. It is showing two devices on the Projects page but only one device on the Devices page. There should only be one.
I had been using the device with and without host (Swan using arduino). When I switched to another Swan with CircuitPython, I first set the notecard to it’s default values first using
{
“req”: “card.restore”,
“delete”: true
}
I had been trying so many settings, so I wanted a clean slate.
I wouldn’t worry too much about the view from the projects page - it may be that using the same Notecard in separate configurations will temporarily show up as two devices on that view. The canonical view is in the Devices page. If this doesn’t resolve itself though, let me know and I can escalate this to make sure it’s not a deeper issue in Notehub!
Alternatively, you an always create a new Notehub project if you want a true clean slate.
My project is still showing 2 devices. I just did another reset because I am having problems reading an environment variable I just added. It didn’t cure my env var problem but it also didn’t add a third device. just the two.
Notehub determines unique devices by their DeviceUID which does not change with a card.restore request. Have you ever connected other devices, or maybe have you used the Notecard simulator at all?
If not, you can DM me your ProjectUID and I can lookup which two devices are associated with your project on our backend.
I only have one notecard and way back I used the simulator (the one that gives temperature and himidity right?) but on a different project. I did move this notecard from another project
I can dm you once I figure out how. And I can delete the test project.
I confirmed with our cloud team that this is a known issue. If you reset a device with "connected": true and then re-add it to the same project, the pie chart on the Notehub home page incorrectly treats it like a new device.
One thing you can try: when I was testing this I was able to “fix” the issue by deleting the device in the Notehub user interface, and then doing a new sync on the device. You could give that a shot and see if it works for you too.