rstrouse / relayEquipmentManager

A hardware controller for GPIO, I2c, SPI, and generic devices.
GNU General Public License v3.0
38 stars 19 forks source link

CPU Temp Generic Device not triggering relay #80

Open theRealenabl3D opened 3 months ago

theRealenabl3D commented 3 months ago

Platform: RPI 4B Bookworm Board: Sequent 4rel4in v4 Latest nodejsPC and REM (recently installed) FYI, Chem Controller relay feed to NodejsPC works fine.

Following the directions from https://github.com/rstrouse/relayEquipmentManager/wiki/Generic-Devices#raspi-cpu-temp Relay 1 never energizes and REM throws the error below:

error: Sequent 4rel4in v4 error setting I/O relayState channel e out of range.
verbose: Feed internal/Internal Devices sending relayState: {"id":1,"state":true} to i2c:1:2
debug: 14 - Sequent 4rel4in v4 Executed read command 0x03 byte read:0x00
debug: 14 - Sequent 4rel4in v4 Executed read command 0x00 byte read:0x00
verbose: Emitting: /chemController : {"acidPump":false,"id":50}
verbose: Feed njspc/PoolController sending acidPump: false to chemController

I also posted this issue over at: https://github.com/tagyoureit/nodejs-poolController/discussions/938 and tried the different javascript code with the same results.