Write Ambi Climate API script to turn on and off AC based on ping results to a number of PC
$50-55 USD
Berlangsung
Dibuat lebih dari 7 tahun yang lalu
$50-55 USD
Dibayar ketika dikirim
We have an internet cafe and we'd like to reduce power cost by turning on AC only when it's needed,
for this purpose we use sensibo and we need to write python-based script to turn off and on based on ping result to a number of pc:
Diagram :
Daikin AC
[40][39]
[41][38]
D D
[42][37]
[43][36]
[44][35]
[45][34]
[46][33]
[47][32]
[48][31]
Panasonic AC
D = Door
DAIKIN section = 36,37,38,39,40,41,42,43,44 = IP [login to view URL],107,108,109,110,111,112,113,114
PANASONIC section = 31,32,33,34,35,45,46,47,48 = IP [login to view URL],102,103,104,105,115,116,117,118
IF PING to 3 of DAIKIN section ok, then
Check Daikin AC State, IF ON then do nothing, if OFF then DAIKIN = ON
ElseIF PING to 3 of PANASONIC section ok, then PANASONIC = ON
Check PANASONIC AC State, IF ON then do nothing, if OFF then PANASONIC = ON
ELSEIF <3 ping to DAIKIN section ok, then DAIKIN = OFF
Check Daikin AC State, IF OFF then do nothing, if ON then DAIKIN = OFF
ELSEIF <3 ping to PANASONIC section ok, then PANASONIC = OFF
Check PANASONIC AC State, IF OFF then do nothing, if ON then PANASONIC = OFF
The result will be tested and refined as needed,
thanks