Search found 10 matches

by cycloneseb
Sunday 03 November 2019 21:20
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Hi; the code I used to perform test is the following ; -- Website weburl='https://www.laghi.net/homepage.aspx?tab=3&subtab=2&idlago=3' -- retrieve web info local http = require ("socket.http") -- FONCTION commandArray={} -- 2° website information response, status = http.request(weburl) print ("page ...
by cycloneseb
Saturday 02 November 2019 12:32
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Ciao Jos;

nice to read again !

No,sorry, I haven't seen it. When it was published ?

Seb.
by cycloneseb
Friday 01 November 2019 23:57
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Hello all; I'm back with my request to parse a value from a webpage, and more precisely the level of the lake near my house. The LUA script developed by Jos was working perfectly since a few months. Now, the script cannot recover the data, and in the domoticz log I've this error : "attempt to ...
by cycloneseb
Friday 29 March 2019 14:36
Forum: Design, usability and languages
Topic: Change a device to another tab
Replies: 4
Views: 3694

Change a device to another tab

Dear all; I'm coming back to you to know if it's possible to change a device to another tab. I'm using darkSky to obtain weather informations of my town, and by example have access to ozone level. This information is current displayed under the Tab "measurement", but make me sens toi be displayed ...
by cycloneseb
Tuesday 30 October 2018 22:53
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Hi Jos; I just come back to you to thank you for your precious help, now the lua script is working fine .. and I can manage the level of the lake every 15' (still increasing those days). Many many thanks for your time and for sharing your knowledge ! for interested people, I join the code ...
by cycloneseb
Sunday 28 October 2018 19:02
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

not abuse, let say .. benefit too much from your time :lol: please find the code from the LUA script DEVIDX=7180 weburl='http://www.laghi.net/homepage.aspx?tab=3&subtab=2&idlago=3' domurl='http://192.168.1.102:8080/json.htm?type=command&param=udevice&idx=' .. DEVIDX .. '&nvalue=0&svalue ...
by cycloneseb
Sunday 28 October 2018 18:39
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Hi Jos; many thanks for your help, I succeeded to install the sockett and now receive the right information. but, if I can again abuse of your knowledge.... When I'm trying to send the information to update the device using the LUA script, (http.request ('http://192.168.....), no update is done on ...
by cycloneseb
Saturday 27 October 2018 18:39
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Re: Script LUA to read value on a webpage ?

Hello Jos;

many thanks for your answer !

I'm back home and trying your code, but up to now, I got some errors due to the wrong location of the LUA socket.

Thanks again !

Seb.
by cycloneseb
Thursday 18 October 2018 15:29
Forum: LUA
Topic: Script LUA to read value on a webpage ?
Replies: 22
Views: 12623

Script LUA to read value on a webpage ?

Hello all Domoticz's Experts ! I'm back to the Domoticz Forum to explain my dream :lol: As I'm living near a lake in Italy, I was a few years ago almost to be flooded ... As the value of the lake level can be monitored through internet, I'm wondering if it's possible to extract the data from the ...
by cycloneseb
Wednesday 14 December 2016 17:37
Forum: Other questions and discussions
Topic: backup on USB key
Replies: 5
Views: 4822

backup on USB key

hi folk ! I'm starting this discussion in order to have feedback from experimented people... I would like to make weekly backup of the SD card of my raspberry (on which is running domoticz) and daily backup of the database of domoticz. Nothing new on this, as a lot of tutorials are dealing with that ...