sunsus / LoxBerry-Plugin-EcoWater

0 stars 0 forks source link

Problem with plugin #5

Open sifri001 opened 2 years ago

sifri001 commented 2 years ago

Hi, I have a problem with the functionality of the plugin. Nothing comes to loxone to help me http! But I have info in the log that everything is fine.

my problem: I missed some authorization lines!

27.07.2022 23:46:01 TASK STARTED Request started 23:46:01.701 INFO: LoxBerry Version 2.2.1.2 ( is_vmware.cfg is_x64.cfg ) 23:46:01.701 INFO: Eco Water Version 0.3.3 23:46:01.701 INFO: Loglevel: 7 23:46:01.705 INFO: Reading configuration 23:46:01.705 OK: Config was read 23:46:01.705 WARNING: Enabling LoxBerry::IO::DEBUG - Open also the Apache log to debug the sending routines of LoxBerry 23:46:01.705 OK: Params initialized 23:46:01.709 INFO: POST Login request 23:46:02.427 INFO: GET device id request 23:46:03.416 INFO: POST Frequent Data request 23:46:04.201 INFO: Response status: 201 Created | Full response: {"datapoint":{"updated_at":"2022-07-27T21:46:02Z","created_at":"2022-07-27T21:46:02Z","echo":false,"metadata":{},"generated_at":null,"generated_from":null,"value":1}} 23:46:04.202 INFO: GET device data request 23:46:04.760 INFO: {"days_in_operation":146,"regen_enable_enum_text":"enabled","salt_level":62.5,"regen_enable_enum":1,"regen_time_secs":7200,"treated_water_avail_liters":26441.08885,"regen_status_enum":0,"regen_status_enum_text":"none","avg_daily_use_liters":143.84558,"status":1,"current_water_flow_lpm":0,"out_of_salt_estimate_days":92,"used_today_liters":230.91001} 23:46:04.760 INFO: Sending data via UDP 23:46:04.760 INFO: DATA: {"days_in_operation":146,"regen_enable_enum_text":"enabled","salt_level":62.5,"regen_enable_enum":1,"regen_time_secs":7200,"treated_water_avail_liters":26441.08885,"regen_status_enum":0,"regen_status_enum_text":"none","avg_daily_use_liters":143.84558,"status":1,"current_water_flow_lpm":0,"out_of_salt_estimate_days":92,"used_today_liters":230.91001} 23:46:04.762 INFO: Sending data via HTTP Finished WITH ERRORS 27.07.2022 23:46:04 TASK FINISHED

jurajs5 commented 2 years ago

same issue with datas, but i dont have any data in logs - even debug dont other basic info.

sunsus commented 2 years ago

Hi, I have a problem with the functionality of the plugin. Nothing comes to loxone to help me http! But I have info in the log that everything is fine.

my problem: I missed some authorization lines!

27.07.2022 23:46:01 TASK STARTED Request started 23:46:01.701 INFO: LoxBerry Version 2.2.1.2 ( is_vmware.cfg is_x64.cfg ) 23:46:01.701 INFO: Eco Water Version 0.3.3 23:46:01.701 INFO: Loglevel: 7 23:46:01.705 INFO: Reading configuration 23:46:01.705 OK: Config was read 23:46:01.705 WARNING: Enabling LoxBerry::IO::DEBUG - Open also the Apache log to debug the sending routines of LoxBerry 23:46:01.705 OK: Params initialized 23:46:01.709 INFO: POST Login request 23:46:02.427 INFO: GET device id request 23:46:03.416 INFO: POST Frequent Data request 23:46:04.201 INFO: Response status: 201 Created | Full response: {"datapoint":{"updated_at":"2022-07-27T21:46:02Z","created_at":"2022-07-27T21:46:02Z","echo":false,"metadata":{},"generated_at":null,"generated_from":null,"value":1}} 23:46:04.202 INFO: GET device data request 23:46:04.760 INFO: {"days_in_operation":146,"regen_enable_enum_text":"enabled","salt_level":62.5,"regen_enable_enum":1,"regen_time_secs":7200,"treated_water_avail_liters":26441.08885,"regen_status_enum":0,"regen_status_enum_text":"none","avg_daily_use_liters":143.84558,"status":1,"current_water_flow_lpm":0,"out_of_salt_estimate_days":92,"used_today_liters":230.91001} 23:46:04.760 INFO: Sending data via UDP 23:46:04.760 INFO: DATA: {"days_in_operation":146,"regen_enable_enum_text":"enabled","salt_level":62.5,"regen_enable_enum":1,"regen_time_secs":7200,"treated_water_avail_liters":26441.08885,"regen_status_enum":0,"regen_status_enum_text":"none","avg_daily_use_liters":143.84558,"status":1,"current_water_flow_lpm":0,"out_of_salt_estimate_days":92,"used_today_liters":230.91001} 23:46:04.762 INFO: Sending data via HTTP Finished WITH ERRORS 27.07.2022 23:46:04 TASK FINISHED

Do you have any other plugin working with Loxberry? Which Version of Loxberry are you using?

sunsus commented 2 years ago

same issue with datas, but i dont have any data in logs - even debug dont other basic info.

Which Version of Loxberry are you using? Can't you see a login Event in the log? https://github.com/sunsus/LoxBerry-Plugin-EcoWater/blob/master/bin/pull.pl#L114

Normally if you can't see anything in the Log, the cron job is not running correctly: https://github.com/sunsus/LoxBerry-Plugin-EcoWater/blob/master/cron/cron.01min

Can you try to execute the Pearl Script manually?

jurajs5 commented 2 years ago

I have 2 other plug-ins on this unit. They are working fine. Version is current one. All is up to date

sifri001 commented 2 years ago

Hi, LoxBerry V2.2.1.2

jurajs5 commented 2 years ago

ok, i installed version 0.21 on other unit and its works. After update to 0.33 it stops to generate datas.

jurajs5 commented 2 years ago

on UDP site - no data in loxone on both versions.

jurajs5 commented 2 years ago

Info from log: UDP send data and errors in logs. Http setting logs have errors.

sunsus commented 2 years ago

Hi, LoxBerry V2.2.1.2

Do you have other plugins working on this Loxberry and sending data by udp to the loxone mini server?

sunsus commented 2 years ago

ok, i installed version 0.21 on other unit and its works. After update to 0.33 it stops to generate datas.

Whats the Version of Loxberry and not the Plugin?

jurajs5 commented 2 years ago

LoxBerry Version 2.2.1.2 for me too.

jurajs5 commented 2 years ago

Hi, LoxBerry V2.2.1.2

Do you have other plugins working on this Loxberry and sending data by udp to the loxone mini server?

No all plugins are sending data per http. But I have 2 devices and this plugin don't send data on any of them

sifri001 commented 2 years ago

Hi, If the communication is switched to UDP, the plugin will start sending values to Loxone! But loading when restarting Loxone doesn't work! The data will only be loaded with the change sent by Loxberry when something changes in ecowater. Nothing goes through http. The first data will arrive in Loxone only after the entire roxberry has been restarted. More data will come and with the change with ecowater. That's ok, at least it saves data traffic.