FIBARO Choice

Created At

Sep 01, 2020

Last Update

Jan 13, 2023

Platforms

HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3

Views

5860

Download

550

Type Quick App

Setup:

1. change dataLoggerSN variable to your data logger serial number (this can be found in solarman application)

2. In case of connection problems change inverterIp variable to your sofar inverter IP in your local wifi network  (it should work in auto mode but if not send me a message)

3. If  you still have some problems pleas enable debugs - change debug variable value to true and send me logs from HC user interface with description.

 

v1.3

 

29 Comments,  Want to add comment please login
0e4b32be36f74bfe56ec6756671d2d8e

Works great, Marcin

7a96db6a7919af61f6448908eaf447ce

Działa tak jak powinna. Dziękuję

9c772f7fcdb97443a60d3952d74cbbf6

--TODO Util function QuickApp:getHc3Ip() local hc3Ip = nil local settings = api.get("/proxy?url=http://localhost:11112/api/settings/network") --it should be settings = api.get("/api/settings/network/interfaces") - but it does not work - 50x response if settings.networkConfig.eth0.enabled then hc3Ip = settings.networkConfig.eth0.ipConfig.ip elseif settings.networkConfig.wlan0.enabled then hc3Ip = settings.networkConfig.ipConfig.wlan0.ip -- main.lua:173 hc3Ip = settings.networkConfig.ipConfig.wlan1.ip end return hc3Ip end [30.08.2021] [12:06:00] [ERROR] [QUICKAPP312]: QuickApp crashed [30.08.2021] [12:06:00] [ERROR] [QUICKAPP312]: main.lua:173: attempt to index a nil value (field 'ipConfig')

9c772f7fcdb97443a60d3952d74cbbf6

Problem rozwiązany. W przypadku podłączenia po wifi HC3 powinno być: hc3Ip = settings.networkConfig.wlan0.ipConfig.ip lub hc3Ip = settings.networkConfig.wlan1.ipConfig.ip Adres ip Sofara musiałem wpisać na sztywno w zmiennej. Wszystko działa.

5843b15ce95593ea5351590e42f7e8d1

Czy może mi ktoś napisać jak pobrać dane do wyświetlenia z WU i jakie parametry są dostępne ? test1 = ???? fibaro:call(thisdevice,'setProperty','ui.Label1.value','test1');

© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback