ArtBern / Scheduler

Scheduler plugin for Domoticz
1 stars 2 forks source link

Domoticz-API #1

Open PeJeWe opened 6 months ago

PeJeWe commented 6 months ago

i want to use the scheduler. i cant find the domoticz API to install. i get the following error in domoticz: /domoticz/plugins/Scheduler/plugin.py", line 50, in <module> 2023-12-19 11:46:28.397 Error: Verwarming: import DomoticzAPI as dom 2023-12-19 11:46:28.397 Error: Verwarming: ModuleNotFoundError: No module named 'DomoticzAPI'

Can you help me with this?

PeJeWe commented 6 months ago

I solved the issue by installing domoticz-API I now don't see the images and selectors 2023-12-19 16:46:01.783 Invalid API command received! (getlanguage) 2023-12-19 16:46:01.791 [WebServer] Deprecated RType (settings) for API request. Handled via fallback (getsettings), please use correct API Command! (DomoticzIP) 2023-12-19 16:46:01.845 Verwarming: Read file: /home/Domoticz/domoticz/plugins/Scheduler/web/html/thermostat_schedule.html 2023-12-19 16:46:01.845 Verwarming: Read file: /home/Domoticz/domoticz/plugins/Scheduler/web/javascript/thermostat_schedule.js 2023-12-19 16:46:01.845 Verwarming: Read file: /home/Domoticz/domoticz/plugins/Scheduler/web/images/downArrow_white.png 2023-12-19 16:46:01.845 Verwarming: Read file: /home/Domoticz/domoticz/plugins/Scheduler/web/images/downArrow_red.png 2023-12-19 16:46:01.848 Verwarming: File created: /home/Domoticz/domoticz/www/templates/Scheduler-Verwarming.html 2023-12-19 16:46:01.848 Verwarming: Domoticz-API server is: Server("DomoticzIP", "8080"): True 2023-12-19 16:46:01.854 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (DomoticzIP) 2023-12-19 16:46:01.867 [WebServer] Deprecated RType (hardware) for API request. Handled via fallback (gethardware), please use correct API Command! (DomoticzIP) 2023-12-19 16:46:01.892 Verwarming: Leaving on start 2023-12-19 16:46:01.892 Verwarming: Acquiring GIL for 'onStartCallback' 2023-12-19 16:46:01.892 Verwarming: Processing 'ListenDirective' message 2023-12-19 16:46:01.892 Verwarming: Acquiring GIL for 'ListenDirective' 2023-12-19 16:46:01.893 Verwarming: Protocol for 'Server Connection' not specified, 'None' assumed. 2023-12-19 16:46:01.893 Verwarming: Transport set to: 'TCP/IP', :9005. 2023-12-19 16:46:01.893 Verwarming: Listen directive received, action initiated successfully. 2023-12-19 16:46:01.893 Verwarming: Acquiring GIL for 'ListenDirective'