Closed jrnk closed 3 months ago
~I think you're using the wrong board, it should be m5stack-atoms3
instead of m5stack-atom
~ actually seems like you are using the regular atom lite
make upload
should be fixed now (https://github.com/yoziru/esphome-zehnder-comfoair/commit/8000fb4101161752bc75dc4dfbb4a690beadf09b), and you should be able to select a USB device when connectedIf after setting the right board it still doesn't work, I would double-check your jumper cables and make sure you hooked up the right colors to the right place (since that could lead to Unknown values)
Thanks, the image is for the board but yes, my hunch was the cable connection too but they are exactly connected as per the instructions:
Maybe the cable is faulty 🤔, I will try to check the raw CAN communication first if I figure out how to do that :)
That looks right to me, and given your CAN adapter light is on the power is coming through normally. You are using both CAN buses on the Zehnder so don't know if that makes a difference.
The only other thing I can think of is that the rx tx GPIO pins are set wrong for the board (which is possible since I didn't test the regular Atom Lite, taken from https://github.com/dan-s-github/zehnder-comfoair-can). You could try modifying those to another pin and see if that makes a difference.
Alternative would be to get an Atom S3 Lite and test if that board works to eliminate the cable or the 2nd CAN bus being the problem
Thanks so much, it is indeed fixed now. Only had to tweak the flash size, will open a PR for this
First of all thanks for the great work of you and others on this module :)
However I'm having trouble using this correctly in HA, all my Sensor values are "Unknown". However when the device comes online it sets 'some' values like the Balance Mode, Humidity Sensor and Temperature Profile. And it sets the Fan mode but it shows an incorrect value (Away when it should be Low).
Stack M5Stack AtomLite ESP32 M5Stack Mini CAN Unit (TJA1051T/3)
It's connected as explained here
Built and uploaded to device with:
Note:
make upload
didn't work as it kept defaulting to uploading through the network instead of usb.My hunch was that the protocol is slightly different for the Q600 than the Q350, but looking at https://github.com/michaelarnauts/aiocomfoconnect/blob/master/docs/PROTOCOL-PDO.md it should be the same.
Any suggestions / reasons this might not work?