rstrouse / relayEquipmentManager

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

Sequent Home Automation V4 8 relay #46

Open dakowals opened 1 year ago

dakowals commented 1 year ago

Any chance you can update for the 8 relay version of the home automation board? I can use the 4rel4in to run the 8rel8in, but only the first 4 relays work.

rstrouse commented 1 year ago

I can't seem to find that board. Are you possibly confusing this with the 8 relay hat? If you are then choose Multi-Relay Board and choose the Sequent8 IND board for the controller. If there is a new board can you point me to the spec sheet for it?

dakowals commented 1 year ago

It is here: https://sequentmicrosystems.com/products/raspberry-pi-home-automation-card It is not the 8 relay card. It is an automation card which acts as I/O or relay. If you select Multi-Relay, relays contacts 1 and 4 turn on, but will not turn off. If I select the 4rel4in, all of the relays work properly.

rstrouse commented 1 year ago

Oh that is the Home Automation card not a variant of the 4rel4in card. The bummer about that card is that the contacts for the relays all share a common and they are only normally open. When I get a chance I will add a profile for it hopefully in the next week or two.

dakowals commented 1 year ago

Great. Thank you.

rstrouse commented 1 year ago

I took my first stab at the Building Automation Card. Pull REM. It should support the relays, digital inputs, analog inputs, DAC outputs, and open drain. image

dakowals commented 1 year ago

Awesome. I will give it try. Thank you!!

sonapsent commented 1 year ago

First off thanks for you work on this project. I hobbled together a DIY system with a MCP relay board, ADS1115 ADC, and Atlas EZO sensors 3 or 4 years back. I saw that the $70 Sequent Home Automation board was now an option in REM and thought it would simplify my setup. I am not sure if @dakowals is having problems with this board in REM, but I am. I have tested the relays and ADC using Sequent's ioplus program and everything seems to work.

REM Relays After setting up the relays, I can only turn on ch1 no other channels. Also I can not turn it back off.

REM Inputs Analog I can enable each channel, but REM does not seem to report a value or give me any options to edit these particular inputs into a feed.

Let me know if I should provide more detail or screenshots. I can help test from my end or send/buy you one of these boards if that would help.

Thanks, Nick

tagyoureit commented 1 year ago

Can you start by changing the logging in REM to silly and log to file? And then toggle the relays and upload the file in the /logs directory here?

2023-08-02_15-06-17
sonapsent commented 1 year ago

Seems like a good lace to start. After starting the log I went to channels 1-5 and attempted to turn 1 on, turn 1 off, turn 2 on, etc. CH1 turned on, then do not turn off, hit CH2 but CH3 came on, then nothing would really register. The web display seems to read the status well when I manually turned off CH1 and CH3 with "ioplus 0 relwr 1 off".

consoleLog(2023-08-02_21-01-10).log

Hect0rG commented 4 months ago

I just purchased one of these Sequent Home Automation V4 8 Relay boards thinking it was the BAS. My current goal was to replace my current setup with an ADC that keeps failing to read temperatures every once in a while to something a little more production ready. I tried using the analog inputs and it seems they are not working as mentioned above. "REM Inputs Analog I can enable each channel, but REM does not seem to report a value or give me any options to edit these particular inputs into a feed." @rstrouse can I possibly help you debug this? I could probably return this board and get the BAS which seems like may be more capable but my return window is going to be short here. I don't mean to hijack the thread but is there a reason that you would recommend the BAS over this? My intent in future is to control pool lights, pumps to automate dosing, as well as sensors to read levels in pool. This is all future and not something I am going to do right away. At the moment all I want is temp readings for pool and ambient temp.

rstrouse commented 4 months ago

The inputs have not been defined. I will set it up this evening.

Hect0rG commented 4 months ago

Excellent Thank you! I appreciate it.

rstrouse commented 4 months ago

Update relayEquipmentManager the inputs have been added.

Hect0rG commented 4 months ago

@rstrouse somehow my i2c stopped working so I am chasing that down. Probably shouldn't have updated my pi at the same time that I updated REM. I was able to download the new code last night but never got to test because my i2c isn't finding my sequent board on i2c. I will report back when I get back online.

Hect0rG commented 3 months ago

Hi @rstrouse it turns out my board was faulty but I have gotten it replaced and I am back at it. I have added two analog inputs and I enabled them but I do not see the values updating on REM.

Just to make sure I am not missing any step, this is how I did it.

I added the sequent board to I2C. image

Made sure board is active and saved. image

Enabled the two channels One for Pool Temp and the other for Ambient Temp and saved on both the channel edit screen and the !2C device definition screen. image

At this point I am expecting the values to start coming up on this screen but nothing is populating here. I assume my feed won't do anything till that data is coming through.

image

For my feed, what should I select, I believe the pool controller can handle any but is one better than the other? I have these three options but I am not 100% on which would be the correct or the best one.

On another note, I also added a relay to test and I am not able to manually toggle it after I enabled and saved. This is how I configured it. Based on the documentation, I should be able to click on the box for the relay to toggle it manually but nothing seems to happen. I do see a little box pop up that says setting relay state when I click it but nothing happens.

image

rstrouse commented 3 months ago

On the Raspberry Pi check the REM logs. It is odd that there is no temperature or board voltage reported on your first screenshot.

Hect0rG commented 3 months ago

I enabled Silly Logs to make sure we get what is needed. This is what shows up in the logs after a reboot (at least the first 500 lines as it seems to repeat after this).

[12/08/2024, 02:10:48] info: Starting up SSDP server [12/08/2024, 02:10:48] info: Initializing GPIO Pins 0 [12/08/2024, 02:10:48] info: Initializing SPI Bus #0 [12/08/2024, 02:10:48] info: SPI Bus #0 Initialized [12/08/2024, 02:10:48] info: Initializing SPI Bus #1 [12/08/2024, 02:10:48] info: SPI Bus #1 Initialized [12/08/2024, 02:10:48] info: Initializing i2c Interface [12/08/2024, 02:10:48] info: Detecting i2c Buses [12/08/2024, 02:10:48] info: Detecting i2c Buses /sys/class/i2c-dev/i2c-1 [12/08/2024, 02:10:48] info: Detecting i2c Buses /sys/class/i2c-dev/i2c-2 [12/08/2024, 02:10:48] info: Initializing 1-Wire Interface [12/08/2024, 02:10:48] info: Detecting 1-Wire Buses [12/08/2024, 02:10:48] silly: stderr: Error: Command failed: lsmod | grep w1_gpio [12/08/2024, 02:10:48] info: Initializing Generic Devices [12/08/2024, 02:10:49] info: Initializing i2c Bus #1 [12/08/2024, 02:10:49] error: 1-Wire interface not loaded on os. Please enable through OS config. Error: Command failed: lsmod | grep w1_gpio [12/08/2024, 02:10:49] info: Generic Devices Initialized [12/08/2024, 02:10:49] info: Server is now listening on 0.0.0.0:8080 [12/08/2024, 02:10:49] silly: SSDP/UPnP Server started. [12/08/2024, 02:10:49] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:10:49] info: Scanning i2c Bus #1 [12/08/2024, 02:10:49] info: Found I2C device Sequent Home Automation v4 at address: 40 - (0x28) [12/08/2024, 02:10:49] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:10:49] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x04 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x05 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x07 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x3d byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x3e byte read:0x35 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x3f byte read:0xfe [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x40 byte read:0x0c [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x41 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x42 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x43 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x48 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x49 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x50 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x51 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x52 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x53 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x54 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x64 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x78 byte read:0x04 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x79 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x80 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x81 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0x86 byte read:0x00 [12/08/2024, 02:10:50] debug: 40 - Sequent Home Automation v4 Executed read command 0xc4 byte read:0x00 [12/08/2024, 02:10:50] error: Sequent Home Automation v4 Error initializing Sequent Home Automation v4 registers Invalid buffer length 64 [12/08/2024, 02:10:50] info: Device Sequent Home Automation v4 initialized for i2c bus #1 address 40 [12/08/2024, 02:10:50] info: i2c Bus #1 Initialized [12/08/2024, 02:10:51] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:10:52] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:10:52] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:10:54] info: New socket client connected _l9ncMA6Zig0h7xMAAAB -- 10.10.14.75 [12/08/2024, 02:10:54] verbose: 10.10.14.75 GET /devices/state?null {} [12/08/2024, 02:10:54] info: [02:10:54] 10.10.14.75 GET /devices/state?null {} [12/08/2024, 02:10:55] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:10:55] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:10:55] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:10:55] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:10:55] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:10:55] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:10:55] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:10:55] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:10:55] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:10:55] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:10:55] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:10:55] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:10:57] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:10:58] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:10:58] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:10:58] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:10:58] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:10:58] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:10:58] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:10:58] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:10:58] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:10:58] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:10:58] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:10:58] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:10:58] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:10:58] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:01] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:01] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:01] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:01] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:01] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:01] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:01] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:01] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:01] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:01] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:01] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:01] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:01] info: New socket client connected 7Zq-slvNY5vgYBkgAAAD -- 10.10.14.4 [12/08/2024, 02:11:01] verbose: 10.10.14.4 GET /devices/state?null {} [12/08/2024, 02:11:02] info: [02:11:02] 10.10.14.4 GET /devices/state?null {} [12/08/2024, 02:11:04] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:04] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:04] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:04] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:04] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:04] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:04] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:04] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:04] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:04] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:04] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:11:04] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:04] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:07] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:07] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:07] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:07] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:07] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:07] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:07] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:07] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:07] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:07] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:07] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:07] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:10] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:10] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:10] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:10] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:10] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:10] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:10] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:11:10] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:10] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:10] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:10] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:10] verbose: 10.10.14.75 GET / {} [12/08/2024, 02:11:10] verbose: 10.10.14.75 GET /config/options/general?null {} [12/08/2024, 02:11:10] info: [02:11:10] 10.10.14.75 GET /config/options/general?null {} [12/08/2024, 02:11:10] info: New socket client connected _igyDdunHaJJGBDmAAAF -- 10.10.14.75 [12/08/2024, 02:11:10] verbose: 10.10.14.75 GET /config/options/oneWire?null {} [12/08/2024, 02:11:10] verbose: 10.10.14.75 GET /config/options/i2c?null {} [12/08/2024, 02:11:10] info: [02:11:10] 10.10.14.75 GET /config/options/oneWire?null {} [12/08/2024, 02:11:10] info: [02:11:10] 10.10.14.75 GET /config/options/i2c?null {} [12/08/2024, 02:11:10] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:10] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:10] verbose: 10.10.14.75 GET /devices/state?null {} [12/08/2024, 02:11:10] info: [02:11:10] 10.10.14.75 GET /devices/state?null {} [12/08/2024, 02:11:13] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:13] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:13] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:13] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:13] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:13] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:13] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:13] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:13] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:13] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:13] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:13] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:13] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:11:14] verbose: 10.10.14.75 GET /config/options/i2c/1?null {} [12/08/2024, 02:11:14] info: [02:11:14] 10.10.14.75 GET /config/options/i2c/1?null {} [12/08/2024, 02:11:16] verbose: 10.10.14.75 GET /config/options/i2c/1/40?null {} [12/08/2024, 02:11:16] info: [02:11:16] 10.10.14.75 GET /config/options/i2c/1/40?null {} [12/08/2024, 02:11:16] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:16] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:16] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:16] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:16] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:16] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:16] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:16] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:16] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:16] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:16] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:16] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:19] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:19] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:19] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:19] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:19] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:19] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:19] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:19] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:19] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:19] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:19] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:19] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:22] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:22] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:22] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:22] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:22] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:22] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:22] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:11:22] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:22] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:22] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:22] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:22] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:22] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:25] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:25] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:25] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:25] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:25] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:25] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:25] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:25] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:25] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:25] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:25] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:25] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:28] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:28] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:28] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:28] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:28] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:28] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:28] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:28] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:28] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:28] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:28] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:28] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:31] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:31] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:31] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:31] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:31] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:31] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:31] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:31] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:31] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:31] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:31] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:31] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:33] error: Error connecting to Pool Controller http://10.10.16.58:4200: xhr poll error [12/08/2024, 02:11:34] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:34] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:34] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:34] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:34] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:34] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:34] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:11:34] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:34] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:34] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:34] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:34] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:34] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:37] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:37] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:37] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:37] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:37] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:37] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:37] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:37] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:37] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:37] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:37] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:37] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:40] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:40] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:40] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:40] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:40] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:40] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:40] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:40] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:40] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:40] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:40] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:40] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:43] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:43] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:43] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:43] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:43] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:43] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:43] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:43] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:43] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:43] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:43] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:43] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:44] info: New socket client connected Xro-hy14foS7QZyIAAAH -- 10.10.16.58 [12/08/2024, 02:11:46] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:46] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:46] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:46] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:46] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:46] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:46] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:11:46] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:46] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:46] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:46] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:46] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:46] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:49] verbose: 10.10.16.58 PUT /config/checkconnection/ {"type":"njspc","isActive":true,"id":null,"name":"njsPC - automatic","protocol":"http:","ipAddress":"10.10.16.58","port":4200,"userName":"","password":"","sslKeyFile":"","sslCertFile":"","hostnames":["pi.xample.org"]} [12/08/2024, 02:11:49] info: [02:11:49] 10.10.16.58 PUT /config/checkconnection/ {"type":"njspc","isActive":true,"id":null,"name":"njsPC - automatic","protocol":"http:","ipAddress":"10.10.16.58","port":4200,"userName":"","password":"","sslKeyFile":"","sslCertFile":"","hostnames":["pi.xample.org"]} [12/08/2024, 02:11:49] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:49] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:49] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:49] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:49] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:49] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:49] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:49] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:49] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:49] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:49] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:49] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:52] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:52] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:52] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:52] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:52] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:52] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:52] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:52] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:52] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:52] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:52] verbose: 10.10.16.58 PUT /config/checkemit {"eventName":"checkemit","property":"result","value":"success","connectionId":1} [12/08/2024, 02:11:52] info: [02:11:52] 10.10.16.58 PUT /config/checkemit {"eventName":"checkemit","property":"result","value":"success","connectionId":1} [12/08/2024, 02:11:52] verbose: Emitting: /checkemit : {"result":"success"} [12/08/2024, 02:11:52] info: checkEmit: id 1 [12/08/2024, 02:11:52] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:52] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:53] info: Connected to Pool Controller : http://10.10.16.58:4200 [12/08/2024, 02:11:55] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:55] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:55] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:55] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:55] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:55] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:55] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:55] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:55] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:55] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:55] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:55] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:11:58] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:11:58] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:11:58] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:58] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:58] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:58] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:58] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:11:58] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:11:58] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:11:58] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:11:58] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:11:58] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:11:58] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:01] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:01] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:01] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:01] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:01] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:01] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:01] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:01] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:01] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:01] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:01] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:01] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:04] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:04] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:04] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:04] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:04] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:04] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:04] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:04] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:04] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:04] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:04] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:04] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:07] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:07] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:07] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:07] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:07] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:07] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:07] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:07] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:07] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:07] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:07] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:07] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:09] verbose: 10.10.16.180 GET /upnp.xml {} [12/08/2024, 02:12:10] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:10] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:10] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:10] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:10] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:10] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:10] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:12:10] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:10] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:10] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:10] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:10] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:10] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:13] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:13] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:13] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:13] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:13] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:13] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:13] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:13] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:13] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:13] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:13] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:13] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:16] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:16] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:16] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:16] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:16] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:16] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:16] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:16] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:16] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:16] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:16] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:16] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:19] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:19] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:19] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:19] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:19] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:19] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:19] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:19] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:19] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:19] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:19] verbose: 10.10.16.180 GET /upnp.xml {} [12/08/2024, 02:12:19] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:19] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:22] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:22] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:22] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:22] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:22] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:22] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:22] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json [12/08/2024, 02:12:22] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:22] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:22] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:22] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:22] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:22] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:25] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:25] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:25] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:25] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:25] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:25] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:25] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:25] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:25] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:25] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:25] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:25] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:28] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:28] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:28] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:28] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:28] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:28] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:28] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:28] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:28] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:28] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:28] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:28] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:29] verbose: 10.10.16.180 GET /upnp.xml {} [12/08/2024, 02:12:31] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:31] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:31] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:31] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:31] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:31] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:31] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:31] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:31] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:31] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:31] error: Sequent Home Automation v4 error setting I/O relayState channel e out of range. [12/08/2024, 02:12:31] verbose: Feed internal/Internal Devices sending relayState: true to i2c:1:1 [12/08/2024, 02:12:34] debug: 40 - Sequent Home Automation v4 Executed read command 0x03 byte read:0x00 [12/08/2024, 02:12:34] debug: 40 - Sequent Home Automation v4 Executed read command 0x00 byte read:0x45 [12/08/2024, 02:12:34] verbose: Emitting: /temps : {"waterSensor1":""} [12/08/2024, 02:12:34] verbose: Feed njspc/Pool Controller sending waterSensor1: "" to temps [12/08/2024, 02:12:34] verbose: Emitting: /temps : {"airSensor":""} [12/08/2024, 02:12:34] verbose: Feed njspc/Pool Controller sending airSensor: "" to temps [12/08/2024, 02:12:34] debug: Persisting Configuration data... /home/hector/relayEquipmentManager/data/controllerConfig.json

Hect0rG commented 3 months ago

Does it look like I selected the correct board? I am pretty sure I did but maybe there are two that look the same?

This is the board I have. https://sequentmicrosystems.com/products/raspberry-pi-home-automation-card?srsltid=AfmBOoqQdaaRy8p64KEiE9no63IEI4f1RPnU3hrQShrequxVGYdbaJVd

marthoc commented 3 months ago

I am also using this Home Automation v4 card; I can turn a relay "on", but when I try to toggle off I receive this message in the logs: 1|REM | [14/08/2024, 09:09:57] warn: Retry #1 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #2 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #3 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #4 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #5 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #6 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #7 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #8 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] warn: Retry #9 setting relay states Sequent Home Automation v4 expected 0 but got 0 1|REM | [14/08/2024, 09:09:57] error: Error setting relay states Sequent Home Automation v4 register did not echo 0 <> 0

marthoc commented 3 months ago

And, I also see the above issue where the ADC does not appear to be reading a voltage from a temperature sensor.

marthoc commented 3 months ago

@sonapsent @Hect0rG @rstrouse I have tracked down the problem with the relays and opened a PR to fix. Next I'm going to try to track down why the Analog and other values aren't reporting correctly, unless @rstrouse gets to it first!

Hect0rG commented 3 months ago

Awesome thanks Mark!

Sent from Nine


From: Mark Coombes @.***> Sent: Thursday, August 15, 2024 1:58 PM To: rstrouse/relayEquipmentManager Cc: Hect0rG; Mention Subject: Re: [rstrouse/relayEquipmentManager] Sequent Home Automation V4 8 relay (Issue #46)

@sonapsent @Hect0rG @rstrouse I have tracked down the problem with the relays and opened a PR to fix. Next I'm going to try to track down why the Analog and other values aren't reporting correctly, unless @rstrouse gets to it first! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

marthoc commented 3 months ago

I've tracked down the analog inputs issue as well, and added a commit to the same PR.

marthoc commented 3 months ago

@Hect0rG my PR now fixes both the analog sensor and relays so this card should work well in REM now once @rstrouse merges it.

As for what feed to use, I would use the raw ADC value as that comes straight from the card - the ADCs are 12bit so select that from the dropdown. (The voltage calculation for temperature is calculated with reference to the supply voltage on the card, which should be 3.3v but there may be some variance there, so in theory the raw value could be more precise. Either way we are talking about a very minor difference between them.)

Hect0rG commented 3 months ago

Thanks Mark for your help. I am looking forward to setting it up. 


From: Mark Coombes @.***> Sent: Thursday, August 15, 2024 8:54 PM To: rstrouse/relayEquipmentManager Cc: Hect0rG; Mention Subject: Re: [rstrouse/relayEquipmentManager] Sequent Home Automation V4 8 relay (Issue #46)

@Hect0rG my PR now fixes both the analog sensor and relays so this card should work well in REM now once @rstrouse merges it. As for what feed to use, I would use the raw ADC value as that comes straight from the card - the ADCs are 12bit so select that from the dropdown. (The output voltage is calculated with reference to the supply voltage on the card, which should be 3.3v, to calculate temperature but there may be some variance there, so in theory the raw value could be more precise. Either way we are talking about a very minor difference between them.) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

marthoc commented 3 months ago

@rstrouse Thought I had this solved but one final issue is that once a relay is enabled in REM, I would expect it to show up in njsPC in e.g. the list of devices available for selection for a Heater, but it does not, unless I am missing a step.

rstrouse commented 3 months ago

It needs to include the relays from the getDeviceDescriptions() method.

marthoc commented 3 months ago

@rstrouse - I've added this to the getDeviceDescriptions() method, modelling after the other entries in that method:

        category = 'Relays'
        for (let i = 0; i < this.relays.length; i++) {
            let relay = this.relays[i];
            desc.push({ type: 'i2c', isActive: this.device.isActive, name: relay.name, binding: `i2c:${this.i2c.busId}:${this.device.id}:relay.${relay.id}`, category: category });
        }

But, when njsPC tries to set a relay state it doesn't change. Looking at some of the other subclasses in SequentIO.ts, it appears that the relay state is set in the setDeviceState() method, which is not present in the SequentHomeAuto class... thought I would float this out there for pointers from you before I start digging too deep trying to guess at the REM architecture.

Hect0rG commented 2 months ago

Hi @marthoc and @rstrouse I don't necessarily need the relays just yet. Would I already be able to pull to get the updates for my temp sensors?

marthoc commented 2 months ago

@Hect0rG yes @rstrouse merged my work so far. The analog inputs will work now.

Hect0rG commented 2 months ago

Awesome thanks! I will give it a try this weekend for sure!

Hect0rG commented 2 months ago

I have pulled the latest code and while it does seem better my pool seems very hot as shown in the picture 🥵 😁.

It doesn't look like I have it set up correctly. I tried following the sequent guide in the wiki but the options seem different. For example in the wiki you can select between 1k and 10k thermistor but I don't have the option. Maybe it's hardcover? I use 10k for whatever that's worth. Is there a guide for this specific board yet?

Screenshot_20240907_051208_Chrome Screenshot_20240907_051111_Chrome Screenshot_20240907_051049_Chrome

marthoc commented 2 months ago

@Hect0rG It looks like you are feeding the raw output from the sensor to njsPC. You will need to create a temperature probe in REM, feed the raw value to that (which handles the conversion of voltage/ADC reading to temperature), then feed the value from that sensor to njsPC. Take a look at this page: https://github.com/rstrouse/relayEquipmentManager/wiki/Temperature-Sensors. You will want to follow those instructions starting at Step 4. Once the temperature probe is configured, and outputting its feed to njsPC, you should be getting the correct temperature readings.

Hect0rG commented 2 months ago

@marthoc I went ahead and did that but my temperatures are still really high. For example my ambient temperature is telling me its 97 when the actual temp is 78. Is it expected to be this far off? I see there is a place to calibrate in REM but I want to make sure I am not masking an issue by adjusting so much.

image image

marthoc commented 2 months ago

@Hect0rG not sure if it will make a difference but can you try feeding the raw value to that 10k Temperature probe and then change the input type (the inputs on this card are 12 bit).

Hect0rG commented 2 months ago

Unfortunately it is still really hot. I imagine you have a similar setup. On yours are the temperatures that far off? I wonder if its the sensor itself but it doesn't make sense that both are reporting really high temps. Other sequent cards also seem to have a way to select 1k vs 10k themistors but this one doesnt seem to have that setting. Maybe internally its different?

image