Page 2 of 2
Re: Resol DL2 Datalogger(Vbus)
Posted: Saturday 02 September 2017 7:47
by Mace
One more question: I have made the script in Domoticz 'Events' it is now constantly running (every few seconds), is there a way to set this to every x minutes?
Re: Resol DL2 Datalogger(Vbus)
Posted: Monday 04 September 2017 8:11
by MarceldeJongNL
[
- Screen Shot 2017-09-04 at 08.09.59.png (31.89 KiB) Viewed 2894 times
Set the script to run on time, and with run every minute.
Re: Resol DL2 Datalogger(Vbus)
Posted: Monday 04 September 2017 22:07
by Mace
Check! Thanks again....
Re: Resol DL2 Datalogger(Vbus)
Posted: Monday 11 September 2017 11:05
by Mace
I'm trying to get notifications working, depending on temperature of the top of the boiler, see attachment. Somehow, they are not being kicked off....Can't see what I'm doing wrong.
Re: Resol DL2 Datalogger(Vbus)
Posted: Thursday 14 September 2017 16:24
by Mace
No one has the same issue?
Re: Resol DL2 Datalogger(Vbus)
Posted: Sunday 03 December 2017 17:19
by nimitz1971
Hi,
I guess I'm overseeiing something but I have a Resol KM2 module with a Deltasol MX in the background. My goal is to have domoticz receive the data from the deltasol, however I am not able to get the data via my browser.
I know this topic is about DL2, but is KM2 also capable of doing this?
I tried: http://<<my km2 ip>>/dlx/download/live
or even http://<<my km2 ip>>/dlx/live?sessionAuthUsername=<<admin user>>&sessionAuthPassword=<<password>>
Nothing works, all came back with Not Found.
Do I need to setup specific things to get this working? I have a vbus account too.
Thanks in advance,
Re: Resol DL2 Datalogger(Vbus)
Posted: Tuesday 05 December 2017 15:35
by McMelloW
nimitz1971 wrote: ↑Sunday 03 December 2017 17:19
I guess I'm overseeiing something but I have a Resol KM2 module with a Deltasol MX in the background. My goal is to have domoticz receive the data from the deltasol, however I am not able to get the data via my browser.
I know this topic is about DL2, but is KM2 also capable of doing this?
I tried: http://<<my km2 ip>>/dlx/download/live
or even http://<<my km2 ip>>/dlx/live?sessionAuthUsername=<<admin user>>&sessionAuthPassword=<<password>>
I have A Resol KM2 too. http://<<my km2 ip>>/dlx/download/live is not working for a KM2 I think.
With
<Local_IP_of_KM2>/current/current_packets.vbus you will get a file current_packets.vbus However this is a binary. Is there a script / rountine to convert this to readable data
If you want to connect to the KM2 via SSH you can activate the function:
<Local_IP_of_KM2>/#/config/ssh
You find the SSH user / password on your device-info. Of course there is a risk to connect to it like this and mess up the box.
Grtz McMelloW
Re: Resol DL2 Datalogger(Vbus)
Posted: Wednesday 10 January 2018 10:43
by Mace
After having to stop the script because of the bugs in the beta software, I'm trying to get it running again, but get the following error:
2018-01-10 10:41:00.504 LUA: ========================================================================================================
2018-01-10 10:41:00.504 LUA: Getting Resol DL2 Data
2018-01-10 10:41:00.504 LUA: ========================================================================================================
2018-01-10 10:41:00.576 LUA: Decoding JSON Resol DL2 Data to Lua Table
2018-01-10 10:41:00.576 LUA:
2018-01-10 10:41:00.576 LUA: Getting interesting Values
2018-01-10 10:41:00.576 Error: EventSystem: in Resol: [string "commandArray = {} ..."]:74: attempt to index local 'lua_value' (a nil value)
Had this before when I was on Windows, but solved that by switching to a rapsberry. BTW: I'm also having trouble with other LAU scripts, so also might be Domoticz itself that is still half broken...
Re: Resol DL2 Datalogger(Vbus)
Posted: Friday 23 February 2018 21:27
by markvroom
Hi! I have exactly the same problem as 'Mace' describes. It seems like no data is retrieved from de Resol DL2 (the line looks empty) and finally it gives a messages about lua_value being nil. Any suggestions how to resolve this?
========================================================================================================
2018-02-23 21:25:00.879 LUA: Getting Resol DL2 Data
2018-02-23 21:25:00.879 LUA: ========================================================================================================
2018-02-23 21:25:00.879 LUA: Retrieving JSON data from URL:
2018-02-23 21:25:00.879 LUA:
http://192.168.9.27/dlx/download/live?s ... word=admin
2018-02-23 21:25:00.889 LUA: Decoding JSON Resol DL2 Data to Lua Table
2018-02-23 21:25:00.889 LUA:
2018-02-23 21:25:00.889 LUA: Done printing dl2_data
2018-02-23 21:25:00.889 LUA: Getting interesting Values
2018-02-23 21:25:00.889 Error: EventSystem: in Resol DL2 reader: [string "commandArray = {} ..."]:79: attempt to index local 'lua_value' (a nil value)
Re: Resol DL2 Datalogger(Vbus)
Posted: Friday 23 February 2018 22:03
by markvroom
To add to this: when I run the io.popen from the LUA command prompt on a Raspberry telnet session, I can see that not the Json results are returned but an HTML page with text about insufficient rights.
But if I use the exact same URL in any browser, it *does* work, I get Json output immediately.
http://192.168.9.27/dlx/download/live?s ... word=admin
So anybody got a clue what goes wrong with the LUA request? Maybe someone can run this command in his Lua editor?
Grts!