The initial problem (passing the priority) hasn't worked yet. Here's an update.
My test proofed the http notification changes #PRIORITY into a number and uses that in the http command. So it also should work for you.
It turns out the priority is indeed passed correctly when an http(s) call is ...
Search found 34 matches
- Monday 22 December 2025 17:17
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
- Friday 19 December 2025 20:39
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
Re: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
I've done some "finger exercises" with double quotes (with quotes, without quotes, escaped quotes, etc.). No matter what I try, I can't get #PRIORITY to be entered as a parameter. The #SUBJECT parameter does work: I receive the subject in this key and can also use it in the call to ntfy.
Regarding ...
Regarding ...
- Friday 19 December 2025 20:38
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
Re: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
I did try #FIELD4#PRIORITY, no success...
- Friday 19 December 2025 17:03
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
Re: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
It is not about using the priority in ntfy. That works fine. See my script where I use --prio 3. It is about getting the priority from Domoticz...
- Friday 19 December 2025 16:34
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
Re: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
ok, i've added a subject to my notification:
commandArray[#commandArray+1] = {['SendNotification'] = 'MySubject#Alert: testswitch turned off#4###http'}
Unfortunately, there's no difference. And even when I send a test message from the customHTTP/action (test button), I don't see any priority.
The ...
commandArray[#commandArray+1] = {['SendNotification'] = 'MySubject#Alert: testswitch turned off#4###http'}
Unfortunately, there's no difference. And even when I send a test message from the customHTTP/action (test button), I don't see any priority.
The ...
- Friday 19 December 2025 15:43
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
Re: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
Hi and thanks for the reply. I kept the subject empty. Even when I define a notification on a switch
- you can't set a subject, but you can set a message
- the result is exactly the same: #PRIORITY in the report as above, instead of the selected priority. (in my case: Emergency)
- Friday 19 December 2025 15:04
- Forum: Bugs and Problems
- Topic: #PRIORITY not set in settings>Notifications>CustomHTTP/Action
- Replies: 14
- Views: 173
#PRIORITY not set in settings>Notifications>CustomHTTP/Action
Version: 2025.2
Build Hash: e63981b18
Compile Date: 2025-10-13 11:42:57
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
Platform: Linux 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
Description: a priority in the ...
Build Hash: e63981b18
Compile Date: 2025-10-13 11:42:57
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
Platform: Linux 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
Description: a priority in the ...
- Tuesday 10 October 2023 16:10
- Forum: Other questions and discussions
- Topic: Custom fields for devices
- Replies: 4
- Views: 1606
Re: Custom fields for devices
Hi Juankar,
Even though this is a somewhat older post, I still have an answer.
The options field consists of a chain of keyword=value pairs, separated by ';'. For example, for a selector switch you will find the following content in the DeviceStatus table, options column:
LevelActions:fHx8 ...
Even though this is a somewhat older post, I still have an answer.
The options field consists of a chain of keyword=value pairs, separated by ';'. For example, for a selector switch you will find the following content in the DeviceStatus table, options column:
LevelActions:fHx8 ...
- Wednesday 04 October 2023 20:08
- Forum: Suggestions
- Topic: setting battery level with API/JSON and/or MQTT
- Replies: 8
- Views: 2962
Re: setting battery level with API/JSON and/or MQTT
Hi @waltervl, thanks for the explanation. This works like charm when sending a message with MQTT with all other parameters present.
Then there is no need to add this feature .
I must have overlooked the remark on additional parameters. Maybe the header of that section in the wiki needs 'some ...
Then there is no need to add this feature .
I must have overlooked the remark on additional parameters. Maybe the header of that section in the wiki needs 'some ...
- Tuesday 03 October 2023 19:29
- Forum: Suggestions
- Topic: setting battery level with API/JSON and/or MQTT
- Replies: 8
- Views: 2962
Re: setting battery level with API/JSON and/or MQTT
2023-10-03 19:27:35.669 Error: ge-MQTT: Invalid/Unhandled data received! (Topic: domoticz/in, Message: {"idx": 1402, "Battery":75})
That doesn't look better... I also tried:
http://ge-domoticz/json.htm?type=command¶m=udevice&idx=1402&batterylevel=75
http://ge-domoticz/json.htm?type=command ...
That doesn't look better... I also tried:
http://ge-domoticz/json.htm?type=command¶m=udevice&idx=1402&batterylevel=75
http://ge-domoticz/json.htm?type=command ...
- Tuesday 03 October 2023 18:47
- Forum: Suggestions
- Topic: setting battery level with API/JSON and/or MQTT
- Replies: 8
- Views: 2962
Re: setting battery level with API/JSON and/or MQTT
after sending:
mosquitto_pub -h localhost -p 1883 -t "domoticz/in" -m "{\"idx\": 1402, \"BatteryLevel\":75}"
I get this response
2023-10-03 18:43:57.259 Error: ge-MQTT: Invalid/Unhandled data received! (Topic: domoticz/in, Message: {"idx": 1402, "BatteryLevel":75})
open for MQTT-suggestions!
mosquitto_pub -h localhost -p 1883 -t "domoticz/in" -m "{\"idx\": 1402, \"BatteryLevel\":75}"
I get this response
2023-10-03 18:43:57.259 Error: ge-MQTT: Invalid/Unhandled data received! (Topic: domoticz/in, Message: {"idx": 1402, "BatteryLevel":75})
open for MQTT-suggestions!
- Tuesday 03 October 2023 16:15
- Forum: Suggestions
- Topic: setting battery level with API/JSON and/or MQTT
- Replies: 8
- Views: 2962
setting battery level with API/JSON and/or MQTT
My request is simple: I would like to set the battery level with an MQTT message. Example:
topic= Domoticz/in
message = { "idx" : <idx>, "BatteryLevel" : <blevel> }
with 0 <= blevel <= 100
a comparable JSON approach would be:
/json.htm?type=command¶m=udevice&idx=IDX&batterylevel ...
topic= Domoticz/in
message = { "idx" : <idx>, "BatteryLevel" : <blevel> }
with 0 <= blevel <= 100
a comparable JSON approach would be:
/json.htm?type=command¶m=udevice&idx=IDX&batterylevel ...
- Monday 06 March 2023 12:15
- Forum: Temperature and Weather
- Topic: Darksky still in forecast after switch OpenWeather.
- Replies: 12
- Views: 1958
Re: Darksky still in forecast after switch OpenWeather.
Hi everyone, today I opened the forecast in the domoticz weather screen again and to my surprise I still got a Darksky weather overview :roll: . I just looked at the PR from a few years ago and I couldn't make out what the status is now :?: . I installed the OpenWeatherMap plugin and it works fine ...
- Monday 06 February 2023 15:13
- Forum: LUA
- Topic: Lua script to update counter needs modernization
- Replies: 13
- Views: 4469
Re: Lua script to update counter needs modernization
Pls look at this:
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> dev=1423
> value1=1
> string.format("%d|0|%d",dev,value1)
1423|0|1
> value1=1.1
> string.format("%d|0|%d",dev,value1)
stdin:1: bad argument #3 to 'format' (number has no integer representation)
stack traceback:
[C]: in function ...
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> dev=1423
> value1=1
> string.format("%d|0|%d",dev,value1)
1423|0|1
> value1=1.1
> string.format("%d|0|%d",dev,value1)
stdin:1: bad argument #3 to 'format' (number has no integer representation)
stack traceback:
[C]: in function ...
- Monday 27 December 2021 19:23
- Forum: Cameras
- Topic: connect smart life camera?
- Replies: 6
- Views: 11356
Re: connect smart life camera?
https://www.kruidvat.nl/kruidvat-smart-indoor-ip-camera/p/5314114
This is the camera I am talking about. It is called a Smart Life camera, which you operate through the smart life app... Since all works through the app (which is handy if you are not into programming, no offence!) there is no URL ...
This is the camera I am talking about. It is called a Smart Life camera, which you operate through the smart life app... Since all works through the app (which is handy if you are not into programming, no offence!) there is no URL ...
- Monday 27 December 2021 17:48
- Forum: Cameras
- Topic: connect smart life camera?
- Replies: 6
- Views: 11356
Re: connect smart life camera?
Smart Life Camera's are Internet Of Things camera's. This camera is tuya-based, which means:
- it sends its 'stream' to the cloud.
- my phone picks up the 'stream' from the cloud.
Furthermore: TUYA devices have an id, an IP-address and... an encryption key. I know all three but I don't know the ...
- it sends its 'stream' to the cloud.
- my phone picks up the 'stream' from the cloud.
Furthermore: TUYA devices have an id, an IP-address and... an encryption key. I know all three but I don't know the ...
- Monday 27 December 2021 13:16
- Forum: Cameras
- Topic: connect smart life camera?
- Replies: 6
- Views: 11356
connect smart life camera?
Hello everyone,
Santa has been generous to me: a (tuya based) Smart Camera. The camera works fine with my smart phone. The quality of the image is not bad at all... But I want more :D and for that I need some help: I want to connect it ot Domoticz. For an IP camera it is clear how to do that. But ...
Santa has been generous to me: a (tuya based) Smart Camera. The camera works fine with my smart phone. The quality of the image is not bad at all... But I want more :D and for that I need some help: I want to connect it ot Domoticz. For an IP camera it is clear how to do that. But ...
- Monday 09 August 2021 10:03
- Forum: Utility
- Topic: General Text Device: which table in the database?
- Replies: 8
- Views: 1180
Re: General Text Device: which table in the database?
I did not check it. However, I have my history log settings on 30 days for light switches, short log sensors on 7 days and that is ok. The general text switch turned out to behave like a light switch; i'd rather see it behave as a shortlog sensor!
--Edgar
--Edgar
- Sunday 08 August 2021 22:18
- Forum: Utility
- Topic: General Text Device: which table in the database?
- Replies: 8
- Views: 1180
Re: General Text Device: which table in the database?
Although I am not a promotor of changing the database through the back door, here is the statement to do some cleanup.
Code: Select all
delete from LightingLog where DeviceRowID=<insert-ID-here> and date < date("now","-7 days");- Sunday 08 August 2021 21:45
- Forum: Utility
- Topic: General Text Device: which table in the database?
- Replies: 8
- Views: 1180
Re: General Text Device: which table in the database?
The script helped me after all... I discovered that the table containing the messages is LightingLog; not where the name invited me to look... ;)
I've detected 14000 messages as a result of 1 month of operation.
I think i need to create a script to remove excessive messages from the database ...
I've detected 14000 messages as a result of 1 month of operation.
I think i need to create a script to remove excessive messages from the database ...