I was able to configure my CT types on my emonPi2 from the emonPi2 install guide. Now I’d like to do the same on my emonTx5 device, but I didn’t see anything in the emonTx5 install guide to describe the process. I’m not sure if configuring the Tx5 from the Pi2 is something that I should expect to be able to do in general.
I thought maybe I could connect to ttyS0 instead of ttyAMA0, but that didn’t seem to work.
The emonPi2 and emonTx5 are connected to each other via USB-C.
I’d be fine with connecting it to a computer via USB-C and using a python script to set these values. I already used emonupload2.py to flash a different firmware on there, so I’m familiar with the emonscripts repo.
I noticed the web console said it was running ‘/var/www/emoncms/scripts/serialmonitor/start.sh 115200 /dev/ttyAMA0’. So I checked out the emoncms repo. In serialmonitor.py it correctly detects if the python redis library is available, but then it uses this r
variable unconditionally causing an exception. With the redis library installed it fails to connect to a redis server.
Hopefully there is some standalone script that can let me set these values, because trying to pull the ones out of emoncms and use them in a standalone manner isn’t going great.