Search found 5020 matches

by waltervl
Sunday 22 December 2024 23:33
Forum: dzVents
Topic: posting data
Replies: 26
Views: 566

Re: posting data

There is also something like httplink datapush https://wiki.domoticz.com/HttpLink HttpLink uses the a http(s) stream to push data from Domoticz devices to a server accepting http requests (GET, POST, PUT). The function can be accessed from the setup menu: setup > more options > data push > HTTP.
by waltervl
Sunday 22 December 2024 19:54
Forum: Bugs and Problems
Topic: 401 basics
Replies: 1
Views: 44

Re: 401 basics

Change the trusted network IP to "127.0.0.*,192.168.0.*"
Also no spaces in this setting, there is now a space afte the comma (could be typing error).
by waltervl
Saturday 21 December 2024 17:30
Forum: dzVents
Topic: Watermeter to virtual ( flow) sensor
Replies: 3
Views: 123

Re: Watermeter to virtual ( flow) sensor

This is part of a Dzvents script, not LUA. Dzvents is build on Lua but has its own way of setting up the script. In eventmanager you can start an empty template.
https://wiki.domoticz.com/Events#dzVents_Interface


Dzvents documentation:
https://wiki.domoticz.com/DzVents:_next ... _scripting
by waltervl
Saturday 21 December 2024 17:23
Forum: Bugs and Problems
Topic: Webinterface is only showing dark blue screen
Replies: 6
Views: 168

Re: Webinterface is only showing dark blue screen

You only have to copy the database (domoticz.db) and the external scripts and python plugin folder to the new system.
by waltervl
Saturday 21 December 2024 11:05
Forum: Bugs and Problems
Topic: Error with ecocompteur legrand
Replies: 3
Views: 131

Re: Error with ecocompteur legrand

If you ssh in or start a terminal session on the Domoticz server and run the following command, do you get a proper response?

Code: Select all

curl -H "Accept: application/json" -X GET http://10.0.0.XX/inst.json
by waltervl
Friday 20 December 2024 13:31
Forum: Dashticz
Topic: Dashticz - Show your dashboard and how-to's!
Replies: 998
Views: 305644

Re: Dashticz - Show your dashboard and how-to's!

Tnx. I like that view indeed. However one of the downsides of Domoticz UI's is that it is one page for each thing where in Dashticz you can combine many things into one page (I have the idea to set up an old tablet for home control running the dashticz ui) so I i'd like to combine Domoticz energy ...
by waltervl
Thursday 19 December 2024 22:21
Forum: Bugs and Problems
Topic: Error with ecocompteur legrand
Replies: 3
Views: 131

Re: Error with ecocompteur legrand

What hardware gateway are you using? Python Plugin? Script? Edit: seems to be an integrated hardware gateway. Did it ever work before is it the first time you are using it? You did the browser action from the Domoticz server? Are the Domoticz server and the device in the same network? IP adress url ...
by waltervl
Wednesday 18 December 2024 23:46
Forum: dzVents
Topic: posting data
Replies: 26
Views: 566

Re: posting data

With the debug on you probably can see in the log what is sent as POST, see for example viewtopic.php?p=317025&hilit=Openurl+Post#p317025
by waltervl
Wednesday 18 December 2024 23:41
Forum: General Discussion
Topic: Device setting to group
Replies: 2
Views: 118

Re: Device setting to group

You probably can do something with an API call in a dzvents script to change the device settings in a group but it won't be easy. Go to the wiki and research the group APIs
by waltervl
Wednesday 18 December 2024 22:28
Forum: dzVents
Topic: posting data
Replies: 26
Views: 566

Re: posting data

If curl from the Domoticz server work, in theory openUrl() should also work. So please do the curl c from the Domoticz server (you did not explicitly answer my question about this).
by waltervl
Wednesday 18 December 2024 19:39
Forum: dzVents
Topic: posting data
Replies: 26
Views: 566

Re: posting data

Did you use the curl test from the Domoticz server? Perhaps the server you want to reach is blocked from the Domoticz server?

And what if you set log level to debug?
Add

Code: Select all

logging = {
    level = domoticz.LOG_DEBUG,
    marker = "POST Test"
    },
by waltervl
Wednesday 18 December 2024 18:36
Forum: dzVents
Topic: posting data
Replies: 26
Views: 566

Re: posting data

What if you replace the switch attributes with text to test?

Code: Select all

            postData = {
                idx = '25',
                status = 'On',
                level = '10'
by waltervl
Wednesday 18 December 2024 17:44
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 284

Re: mirror switches unnecessarily complicated :D

This line, will ruin the check on helpOnOff so you should only do that if the triggered device is not helpOnOff

Code: Select all

        -- Reset the helper switch
        helpOnOff.switchOff()
by waltervl
Wednesday 18 December 2024 14:39
Forum: Show your projects
Topic: Ahoy Dtu and Hoymiles HM-xxx integration
Replies: 17
Views: 6046

Re: Ahoy Dtu and Hoymiles HM-xxx integration

It seems that Ahoy-DTU supports HA MQTT discovery protocol so an easy integration with Domoticz MQTT Auto Discover should be possible. for example an issue regarding this: https://github.com/lumapu/ahoy/issues/1613 I could not really find proper Ahoy documentation on this. Domoticz Wiki on MQTT ...
by waltervl
Wednesday 18 December 2024 9:45
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 284

Re: mirror switches unnecessarily complicated :D

If you add the dummy helpOnOff switch in the script trigger (put it in the on devices array like below) then the command helpOnOff.switchOn().afterSec(sec) will trigger a second run of the script. on = { devices = { 'helpOnOff', 'Centrala_ON/OFF', 'Centrala_ON/OFF_(rLe1)', -- Pair 1 'Pompa_ON/OFF ...
by waltervl
Wednesday 18 December 2024 0:18
Forum: MQTT Auto Discovery
Topic: update zwave-js-ui
Replies: 10
Views: 449

Re: update zwave-js-ui

Then google how to update a snap container that runs as an service. A snap container should update automatically but not when running.
by waltervl
Tuesday 17 December 2024 23:22
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Multi boot on Pi 5
Replies: 1
Views: 121

Re: Multi boot on Pi 5

Why a special OS for Domoticz? It is just a program or service you can switch on/off on any OS..
Or use Docker if you fancy that.

Besides Domoticz is usually a home control system and that typically is a server application that does not want to be started and stopped whenever you feel like it.
by waltervl
Tuesday 17 December 2024 13:21
Forum: Dashticz
Topic: Dashticz - Show your dashboard and how-to's!
Replies: 998
Views: 305644

Re: Dashticz - Show your dashboard and how-to's!

JanJaap wrote: Tuesday 17 December 2024 11:23 @floris this looks really well. Having something like this is relatively high on my wish list (want to have for example a clear display for electricity prices + status of my batteries due to dynamic energy contract).
Did you see the energy dashboard? https://wiki.domoticz.com/Energy_dashboard
by waltervl
Tuesday 17 December 2024 13:18
Forum: Bugs and Problems
Topic: Webinterface is only showing dark blue screen
Replies: 6
Views: 168

Re: Webinterface is only showing dark blue screen

Could also be some virus scanner or proxy blocking javascript. Did you have for example Mcafee AV enabled in your browser?
It is strange it suddenly popped up without changing something on Domoticz. Did you change something else in your environment?
by waltervl
Tuesday 17 December 2024 10:43
Forum: Bugs and Problems
Topic: Webinterface is only showing dark blue screen
Replies: 6
Views: 168

Re: Webinterface is only showing dark blue screen

I suppose something went wrong on the login (based on Error: CheckAuthToken).
Clear your browser cookies. Or try with a browser in private/incognito mode.

And there also seems to be something wrong with your Aeotec (zwave?) hardware gateway....