Finaly I did it this evening... :)
Thanks to Waaren for the support.
My code :
local scriptVar = 'getDSLInfo'
local idxADSLdown = 31 -- (Integer) Device ID
local idxADSLup = 32 -- (Integer) Device ID
local idxADSLatt_down = 33 -- (Integer) Device ID
local idxADSLatt_up = 34 -- (Integer) Device ID ...
Search found 6 matches
- Monday 02 March 2020 0:14
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
- Sunday 01 March 2020 23:28
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Re: Extract value from http response [Solved]
Dear Waaren,
Thanks a lot for your new script, it seems working well !!! :D
I need now to try to update a customize sensor with values. I will try to do it this week.
Running code :
local scriptVar = 'getDSLInfo'
return
{
on =
{
devices =
{
'xmlTrigger' , -- just for test
},
timer ...
Thanks a lot for your new script, it seems working well !!! :D
I need now to try to update a customize sensor with values. I will try to do it this week.
Running code :
local scriptVar = 'getDSLInfo'
return
{
on =
{
devices =
{
'xmlTrigger' , -- just for test
},
timer ...
- Sunday 01 March 2020 9:31
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Re: Extract value from http response [Solved]
Dear waaren,
Of course I can do it and I really appreciate your help.
Below your script with few modifications :
- I have deleted the both "]]" line 51 because the script was not accepted
- I have replace the timer "every 4 minutes" by "every minute"
Below the script I'm using :
local scriptVar ...
Of course I can do it and I really appreciate your help.
Below your script with few modifications :
- I have deleted the both "]]" line 51 because the script was not accepted
- I have replace the timer "every 4 minutes" by "every minute"
Below the script I'm using :
local scriptVar ...
- Sunday 01 March 2020 0:40
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Re: Extract value from http response [Solved]
Thanks for your help.
I tried your script proposal but unfortunately it seems not working, nevertheless I'm progressing.
Indeed, I can log the complete answer of my HTTP request as a string but I can't get each value independantly even is domoticz seems recognize the answer as XML. If I'm trying to ...
I tried your script proposal but unfortunately it seems not working, nevertheless I'm progressing.
Indeed, I can log the complete answer of my HTTP request as a string but I can't get each value independantly even is domoticz seems recognize the answer as XML. If I'm trying to ...
- Friday 28 February 2020 23:19
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Extract value from http response [Solved]
Dear all,
In order to follow my internet access, I want to get somes values from my internet box "SFR NB6" API and store these data into Domoticz.
The API request is :
http://192.168.1.1/api/1.0/?method=dsl.getInfo
The API answer is :
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok ...
In order to follow my internet access, I want to get somes values from my internet box "SFR NB6" API and store these data into Domoticz.
The API request is :
http://192.168.1.1/api/1.0/?method=dsl.getInfo
The API answer is :
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok ...
- Wednesday 10 October 2018 4:52
- Forum: Others
- Topic: Doorbird doorbell
- Replies: 8
- Views: 5816
Re: Doorbird doorbell
Dear all,
I just want to share my script I'm using in order to receive Doorbird pictures on my smartphone over Telegram when somebody press the doorbird button.
How it works :
- I defined in the doorbird application a HTTP command into favorite. This command activate a domoticz "Push ON" button ...
I just want to share my script I'm using in order to receive Doorbird pictures on my smartphone over Telegram when somebody press the doorbird button.
How it works :
- I defined in the doorbird application a HTTP command into favorite. This command activate a domoticz "Push ON" button ...