Resol DL2 Datalogger(Vbus)

For heating/cooling related questions in Domoticz

Moderator: leecollings

Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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?
MarceldeJongNL
Posts: 43
Joined: Tuesday 03 May 2016 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5108
Location: Barendrecht
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post by MarceldeJongNL »

[
Screen Shot 2017-09-04 at 08.09.59.png
Screen Shot 2017-09-04 at 08.09.59.png (31.89 KiB) Viewed 2898 times
Set the script to run on time, and with run every minute.
Hardware: Raspberry Pi 2B | RFXCOM RFXtrx433E v1 | Synology DS213+ | KaKu Clones | Conrad RSL switches | KAKu Doorbell Clone | USB Webcam | ICY Thermostat | Resol DL2 | Imatic Relay Board | Eminent 6230 | Eminent 6220 | iMatic 16 ports Relay Board
Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post by Mace »

Check! Thanks again.... ;)
Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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.
Attachments
Boiler.PNG
Boiler.PNG (143.85 KiB) Viewed 2853 times
Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post by Mace »

No one has the same issue?
nimitz1971
Posts: 3
Joined: Sunday 03 December 2017 17:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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,
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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
Greetings McMelloW
Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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...
markvroom
Posts: 2
Joined: Friday 23 February 2018 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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)
markvroom
Posts: 2
Joined: Friday 23 February 2018 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Resol DL2 Datalogger(Vbus)

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest