ammgws / ammcon-frontend

Frontend for AmmCon home automation project
Other
1 stars 0 forks source link

temp command returns twice on first use #3

Closed ammgws closed 8 years ago

ammgws commented 8 years ago

Probably a bug in the microcontroller code - need to test independently.

ammgws commented 8 years ago

Most likely was due to serial port not being open on startup before the first command was entered into the queue. Have implemented a delay on startup to allow for serial port connection to be established before sending any commands, and also overhauled communication process with microcontroller (added serial framing, CRC. Framing on the Python side still needs to be worked on)