Thermostat status pooling 30s/24/7

Moderators: Voyager, BertB, grovkillen, Stuntteam, LisaM

Post Reply
Message
Author
analogworld
Normal user
Posts: 16
Joined: 04 Nov 2019, 11:31

Thermostat status pooling 30s/24/7

#1 Post by analogworld » 27 Jul 2020, 00:59

Hello upyEasy team,

I would like to know how reliable could be the application of pooling: temperature (int), thermostat mode (int), valve status(boolean) from 4 thermostats every 30s, 24/7

Code: Select all

import hysen2pfc_device
import time
strMac1 = "72:0F:27:84:22:3A"
macbytes1 = bytearray.fromhex(strMac1.replace(':',''))
device1 = hysen2pfc_device.Hysen2PipeFanCoilDevice("192.168.X.Y", macbytes1, "", 10)
device1.auth()
device1.get_device_status()
room_temp_1 = device1.room_temp
mode_1 = device1.mode
valve_state_1 = device1.valve_state
We would have then 4 devices that will report their state to a raspberry pi domoticz and as such will offload it.

what could be the most fitted board for this application ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest