Closed LukeSkaff closed 1 year ago
Following as I haven't been able to get serial monitoring working on a Raspberry Pi 4 docker container either. I was only seeing garbage on the output.
The latest version of Compose changed from docker-compose
to docker compose
so it will be some amount of transition since not everyone will upgrade right away.
@MallocArray, I was able to get infinitude to communicate over serial by installing/building it straight in Raspberry Pi OS (not using docker). So there is some issue with docker and serial or this build and docker.
Anyone willing to help a noob on the docker container would be super helpful. This is my first time using docker and I am using this project to learn docker. I installed docker on my Raspberry Pi 4 and I am trying to use Infinitude to listen over RS485 to an ICP unit (carrier parent company) that sells rebranded Bryant and Carrier units under names such as Airquest, Heil, Comfortmaker, and more. I have a variable speed blower 2-stage furnace and variable speed inverter heat pump that talks to an Ion thermostat model number SYST0101CW which appears to be a rebranded Bryant SYSTXBBECC01-B or Carrier SYSTXCCITC01-B thermostat. I am using a USB to RS485 converter and I can see the serial chatter in a serial terminal on the raspberry pi but I am unable to figure out how to get infinitude to see that serial chatter.
I started by running
docker run --rm -v $PWD/state:/infinitude/state -p 3000:3000 nebulous/infinitude
but that started the container without serial obviouslyAfter messing around trying to figure out how to use the docker-compose.yaml file I downloaded I ran the below command in the same directory as the compose file and I am one step closer
docker compose up
The infinitude github page says to use the below command with a dash but I get a command not found error returned when I run it with a dashdocker-compose up
I uncommented out the serial lines in the compose file but not sure if it is correct. The devices looks weird how it is listed twice
In the terminal window where I ran docker compose up I see it trying to talk to the serial port
This is all I get in the serial window of raspberrypi:3000/#/serial A few lines appear in stream when I first start the program then it disappears
Even though this is a ICP unit it appears to be using the same protocol so it appears I have docker setup wrong or something. I did a dump from cutecom serial terminal on the pi and I can see HEX 00 01 04 followed by the callout of the equipment for example HEX
ASCII