Search found 603 matches

by lost
Saturday 21 December 2024 16:57
Forum: Other questions and discussions
Topic: External access/ChangeIP issues...
Replies: 2
Views: 109

Re: External access/ChangeIP issues...

The desec.io combined IPv4+IPv6 to store in a dedicated directory + periodically trigger from a con job fo instance: #!/bin/bash # # IPs updater for one's domain using desec.io DNS hosting service... # Needs setting your user settings hereunder. # # Reference doc: # https://desec.readthedocs.io/en ...
by lost
Saturday 21 December 2024 16:50
Forum: Other questions and discussions
Topic: External access/ChangeIP issues...
Replies: 2
Views: 109

Re: External access/ChangeIP issues...

As a consequence, I started to check what's now available for free. Already had to change 2 times (dynDNS then changeIP), I would like the 3rd to be more stable (+this also affect my let's encrypt certificate as this is linked to a domain). A solution would be to register a domain & pay an annual ...
by lost
Saturday 21 December 2024 14:53
Forum: Other questions and discussions
Topic: External access/ChangeIP issues...
Replies: 2
Views: 109

External access/ChangeIP issues...

Hello, Since a few weeks, I experienced issues using my changeIP domain name (I was there since years, after dynDNS stopped free service): No more resolution, issues not only affecting myself, sometimes even their web site could not be accessed. Beginning of this month, frequent issues for more than ...
by lost
Tuesday 17 December 2024 8:37
Forum: LUA
Topic: Script examples (Lua)
Replies: 138
Views: 154691

Re: Script examples (Lua)

The time difference observation I made was with jvzd test script. So I presumed prints always resulted from successive calls but... Looks this was not the case, if I add a counter to the loop (+ here I have some logs with exact same timing up to 1ms resolution) that counts devices that trig'ed in a ...
by lost
Monday 16 December 2024 12:30
Forum: LUA
Topic: Script examples (Lua)
Replies: 138
Views: 154691

Re: Script examples (Lua)

As device/time... type scripts are all triggered when an event occurs, not sure parsing the devicechanged table would make a difference anyway (the device parse loop in a single script would be somehow transferred to the event system script calling loop). But I always observe a few ms between prints ...
by lost
Monday 16 December 2024 8:42
Forum: LUA
Topic: Script examples (Lua)
Replies: 138
Views: 154691

Re: Script examples (Lua)

devicechanged is not a variable but a table, that may contain more than one value. Hello, Are you really sure of this statement? This contradict what's written in script_device_demo.lua that states: -- device changed contains state and svalues for the device that changed. (...) otherdevices and ...
by lost
Saturday 14 December 2024 11:57
Forum: Python
Topic: Python or dzVents
Replies: 5
Views: 184

Re: Python or dzVents

Same answer: When complexity does not need all the python modules that can speed-up things a lot (even if their maintenance can also be problematic over time), stick to Lua (or dzVent that is a domoticz superset of pure Lua). Lua is a language that was made to be embedded in programs & is very ...
by lost
Thursday 12 December 2024 10:51
Forum: PHP and all others
Topic: Get idx from switch
Replies: 11
Views: 321

Re: Get idx from switch

There may be 2 subjects in your question: -With a naming convention (see also wiki for alarm setup, on top of jvdz anwser), you can manage several devices the same way in a single script. -If you need to store data between scripts execution/triggers, you already know user variables in pure Lua... if ...
by lost
Monday 09 December 2024 17:46
Forum: Z-Wave
Topic: Unknown device
Replies: 3
Views: 114

Re: Unknown device

So you have 2 possibilities: -Check all HW you have works ok with zwavejs & do the big jump to this labyrinthine system. -Build your own OZW config file for this new device if documentation describes it correctly and add the link (device IDs <-> description xml) in manufacturer_specific file. This ...
by lost
Monday 09 December 2024 10:22
Forum: Temperature and Weather
Topic: Median filter for temperatures
Replies: 4
Views: 198

Re: Median filter for temperatures

There's a CRC error detection used in temp/humidity reports but I don't know how these are handled. If CRC is reported, IMO it's not ignored & such invalid data is already discarded. I also have some zwave sensors that are secure-included (so I'm pretty sure any altered message will be discarded ...
by lost
Tuesday 26 November 2024 9:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Domoticz stable version 2022.2 - who has the file?
Replies: 7
Views: 313

Re: Domoticz stable version 2022.2 - who has the file?

I've just changed title - I have database ver.156 so I need a version 2022.2 Hello, looked on my PC drive and... I still have both aarch64 and armv7l install archives (those before 2022.2 were already erased). Here are the sha1sum for check vs filebin storage: $ sha1sum *.tgz ...
by lost
Sunday 24 November 2024 21:51
Forum: Zigbee
Topic: Looking for a Zigbee tag
Replies: 36
Views: 1137

Re: Looking for a Zigbee tag

Any ideas? Suggestions? I have a zwave PIR (that also send temp, but as you noticed that's advertised only when there is some change & sometimes, even half a degree car be hours): A least, I know between PIR triggers the car was here or out. If there is temp reports in between I may even deduce the ...
by lost
Sunday 24 November 2024 17:59
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Domoticz stable version 2022.2 - who has the file?
Replies: 7
Views: 313

Re: Domoticz stable version 2022.1 - who has the file?

What is the updated version? Zwave integration was legacy OZW? If so, this was removed for some time but restored so latest stable should be OK (I'm ~80% zwave, still on OZW as this ran smoothly for years & I have devices others reported not working with ZwaveJS, like my buggy Qubino Smart-Meter ...
by lost
Thursday 14 November 2024 12:05
Forum: Bugs and Problems
Topic: CommandArray command in LUA doesn't work anymore
Replies: 13
Views: 1092

Re: CommandArray command in LUA doesn't work anymore

I have a script which works well since months and the aim is to retreive the color code of the french electricity (pricing is based on a color which changes every day) this script parses an http address with JSON and extracts the color but I realised that this morning the HTTP address was not ...
by lost
Tuesday 12 November 2024 16:59
Forum: Bugs and Problems
Topic: The issue with plugins
Replies: 12
Views: 1509

Re: The issue with plugins

The issue in my opinion is that in Bookwork (Debian 12) Python is defaulting to use venv (do not ask my why and how). Did not noticed such change, either on PC (with pure Debian 12 install) or RPI (with derived Raspberry OS). Only deviation in Debian based systems for Python remains usual paths ...
by lost
Tuesday 12 November 2024 8:02
Forum: Bugs and Problems
Topic: The issue with plugins
Replies: 12
Views: 1509

Re: The issue with plugins

Hello What issues seems linked to 12/Bookworm? Python ones? IMO here there is a network connection issue (or git was not reinstalled) as the user was not able to git clone also. So installing requirements etc may also have failed. Take care that installing plugins in a venv does not need sudo as ...
by lost
Monday 11 November 2024 18:22
Forum: Bugs and Problems
Topic: The issue with plugins
Replies: 12
Views: 1509

Re: The issue with plugins

Python on Bookworm is using venv (virtual environments) which Domoticz does not support. Bookworm did not changed anything (on top of Debian enforced python lib paths priorities to minimize pip/apt mixup issues on system stuff built on python) IMO. But would be nice indeed to be able to avoid ...
by lost
Saturday 09 November 2024 17:11
Forum: Python
Topic: Python plugins: Using venv
Replies: 0
Views: 662

Python plugins: Using venv

Hello, Something I find a bit weird with python plugins is saving all your domoticz setup for full reinstall is no more as simple as making an archive of the whole domoticz tree... You'll have to rebuild all plugin stuff because all dependencies they install will be in some system (sub)directories ...
by lost
Monday 28 October 2024 11:23
Forum: Other questions and discussions
Topic: Custom Pages
Replies: 3
Views: 322

Re: Custom Pages

I can see the png om my Android device when I refresh the page. On the windows computer it doesn't display at all. Using lighthttpd & not domoticz integrated web server I presume? Strange to have this difference but you may try convert the image to jpg & see if you have a png format handling issue ...
by lost
Monday 28 October 2024 7:54
Forum: Other questions and discussions
Topic: Custom Pages
Replies: 3
Views: 322

Re: Custom Pages

Hello, il I remember correctly domoticz integrated web server needs relative path from domoticz/www and will not handle anything out. Il your image is not in a subpath there you may create a symbolic link and use the link in your html.