Windows GUI/Controller for MySensors
-
@allysmith please provide more information about the setup and upload the MYSController log for further troubleshooting
@tekka Thanks for getting back to me. This is my my first go at this bootloader. Hope I am not doing something daft!
I have Arduino IDE 1.6.5, MySensors 1.5, MYSBootloader 1.1, MYSController_0_1_2_282 running on Windows 8, USBasp to urn bootloader.
Arduino Pro Mini 3.3v 8mhz board. I am using the standard settings in your write up for the boards.txt
Log file hopefully attached.
-
@tekka Thanks for getting back to me. This is my my first go at this bootloader. Hope I am not doing something daft!
I have Arduino IDE 1.6.5, MySensors 1.5, MYSBootloader 1.1, MYSController_0_1_2_282 running on Windows 8, USBasp to urn bootloader.
Arduino Pro Mini 3.3v 8mhz board. I am using the standard settings in your write up for the boards.txt
Log file hopefully attached.
-
@allysmith Try clearing EEPROM via MYSBootloader command, assign blink FW and upload the entire log again....
-
@tekka As requested, cleared EEPROM via MYSBootloader, assigned blink FW.
Attached is the log.
Device shows up in the nodes window as Booting: 65535:65535 (BL1.1)@tekka Have made a change to how I was powering the NRF and now straight from battery.
Looks like it was a power issue. Sufficient for transmit from the node ut not for receiving the updates.
See attached log.
Now got a different issue when I tried to reassign the FW from link to Timereporter.
I think I am moving in the right direction now.
Thanks for your help so far.
Keep up this great work.Deug.txt
-
WOOOHOOO, i got OTA working :dancers:
This is awesome guysBTW, I guess OTA will not work if there's a repeater in the middle?
-
@tekka i guess OTA is not available when using a MQTT gateway?
I would like to switch my whole setup to MQTT, but don't wanna loose the super fantastic OTA feature.
-
Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.
ID's keep the same after reboots or power cycles, with or without the AutoID option on.
@cdr IDs are assigned the first time the node starts up and then stored in the Arduino EEPROM. To get a new ID, you would have to clear (that portion of) the EEPROM, or you can upload a copy of the sketch with the ID hard-coded.
Cheers
Al -
quite a few post. so apologies if this has been asked before.
I'm trying to upload a sketch(hex) to one of my nano's
it's going but froze at 70%
i had to reboot the gateway.
this time it got to 87% and seems froze again.
any thoughts/suggestions on why the gateway is freezing up?edit: i can't seem to get a sketch to upload. it gets to some random % and then the gateway freezes.
a push of the gateway reset button seems to start it over. but then freezes at random.edit 2: must have been a distance thing.. i put the bridge right next to the gateway and the code uploaded quickly without freezing.
however, i still am curious as to why the gateway fails to respond/freezes if the firmware is not able to be uploaded. -
Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.
ID's keep the same after reboots or power cycles, with or without the AutoID option on.
@cdr said:
Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.
ID's keep the same after reboots or power cycles, with or without the AutoID option on.
Reassign ID & clear EEPROM are commands implemented in MYSBootloader 1.1: A special ST_FIRMWARE_CONFIG_RESPONSE sequence (see the source code for detail) will instruct the bootloader to either change the ID in EEPROM or clear the EEPROM. The reassign ID command will only have effect, if the firmware has does not have static a ID setting. In order to use the bootloader commands the controller should be able to reboot the node.
-
Hi @tekka,
Thanks for the reply, I created a "clear eeprom" hex and after uploading it is working as expected, the ID resets.
Using the function in Mycontroller however, does not work. Not sure if this is a bug, or perhaps an error caused by an Arduino clone, but the "reassign ID" function is not working as intended here.
Anyone here that got it working as intended?
-
Hi @tekka,
Thanks for the reply, I created a "clear eeprom" hex and after uploading it is working as expected, the ID resets.
Using the function in Mycontroller however, does not work. Not sure if this is a bug, or perhaps an error caused by an Arduino clone, but the "reassign ID" function is not working as intended here.
Anyone here that got it working as intended?