defining MY_BAUD_RATE as 57600 in the sketch did the trick... web editor serial monitor working fine now with debug enabled. thanks for the help @mfalkvidd @Yveaux !
remedyjake
@remedyjake
Best posts made by remedyjake
-
RE: arduino web editor serial monitor not working with mysensors debug
-
RE: can't remove unused sensors from HA
Thank you @fabyte ! I had mostly figured out the persistence file thing... had to jump through some hoops to change from pickle to json so I could edit it -- in the process cleared all my devices, but now I am set up to remove devices easily as i test and build out. Did not think about the database file... will check that out too. Appreciate the help!
Latest posts made by remedyjake
-
RE: arduino web editor serial monitor not working with mysensors debug
defining MY_BAUD_RATE as 57600 in the sketch did the trick... web editor serial monitor working fine now with debug enabled. thanks for the help @mfalkvidd @Yveaux !
-
RE: arduino web editor serial monitor not working with mysensors debug
@mfalkvidd Understood... being a ChromeOS enthusiast, I am pretty used to running into web app limitations/quirks as I get into non-mainstream use cases. Didn't mean to suggest mysensors debug was flawed... just hoping someone else here was familiar with the web ide with mysensors and had a work around. Or even just to validate the issue so I can stop beating my head against it.
I'm running a Pro Mini 3.3v... will play around with the baud rates this weekend and see if I have any luck.
-
RE: arduino web editor serial monitor not working with mysensors debug
@mfalkvidd Thanks for the reply. No, did not set MY_BAUD_RATE... will try that in case it makes a difference. Even without that, the serial monitor works with the desktop ide, but maybe it will help with the web ide somehow. Does it have to be 115200 for mysensors debug, or can it go lower with a manual setting?
The web ide serial monitor works fine for sketches without mysensors library and those with the library and debug disabled.
-
arduino web editor serial monitor not working with mysensors debug
With debug enabled and using the Arduino Web Editor, the serial monitor outputs nonsense characters. (I have set the baud rate to 115200.) The exact same sketch, sensor, and computer running the Arduino IDE works fine with the serial monitor to see the debug info.
Back in the Web Editor if I disable debug in the same sketch (and same sensor and computer) then serial print in the sketch works fine with the Web Editor serial monitor. So it seems to be something with the mysensors debug functions causing an issue with the Web Editor serial monitor.
Anyone else out there use the Arduino Web Editor and experience the same issue with the serial monitor and mysensors debug? Any work-around?
FYI this is important for me so my nephew and I can build and test with a Chromebook using the Web Editor. Thanks for any assistance!
-
RE: can't remove unused sensors from HA
Thank you @fabyte ! I had mostly figured out the persistence file thing... had to jump through some hoops to change from pickle to json so I could edit it -- in the process cleared all my devices, but now I am set up to remove devices easily as i test and build out. Did not think about the database file... will check that out too. Appreciate the help!
-
can't remove unused sensors from HA
I just got my gateway, first sensor, and an HA automation working (hass.io on a Rpi with serial gateway). In the process, I have a couple old versions of the sensor showing up in HA that I can't figure out how to remove. They appear in the GUI and in Developer>States>Entities, but they do not show up in Configuration>Entities list where I could delete them. (In fact, none of the mysensors sensors or gateway show up in the Entities list, even with Show Disabled Entities turned on).
I've tried using the Configurator HA add-on to find a config file that lists the devices, but can't find it. Searching forums suggested that I need to shut down HA and edit a config file in command line, but not 100% sure that suggestion was appropriate for my problem. I am capable of that, but really hoping there is an easier way, as I expect this to be a common situation for me as I am prototyping and building out my HA setup. Appreciate any and all suggestions!