Search found 95 matches
- Saturday 30 November 2024 13:31
- Forum: dzVents
- Topic: Handy functions for dzVents
- Replies: 3
- Views: 199
Re: Handy functions for dzVents
Nice little global_data knowledge nugget, thanks for that. This has the potential to shorten my scripts a lot by centralizing all the same functions that are used in multiple scripts.. These type of handy uses of dzVents feel buried in the wiki and are not easily found and understand by people that ...
- Friday 08 November 2024 11:09
- Forum: dzVents
- Topic: struggle with text in textdevice
- Replies: 11
- Views: 865
Re: struggle with text in textdevice
Man.. this is quickly turning in to a rabbit hole.. In HTML (up to HTML 4): use <br> In HTML 5: <br> is preferred, but <br/> and <br /> is also acceptable In XHTML: <br /> is preferred. Can also use <br/> or <br></br> Notes: <br></br> is not valid in HTML 5, it will be thought of as two line breaks ...
- Thursday 07 November 2024 12:41
- Forum: dzVents
- Topic: struggle with text in textdevice
- Replies: 11
- Views: 865
Re: struggle with text in textdevice
Don't use floorplan (not yet..) but try maybe:
Code: Select all
dz.devices(1642).updateText('line 1<br>line 2')
- Tuesday 05 November 2024 14:53
- Forum: dzVents
- Topic: Timer trigger rules
- Replies: 6
- Views: 587
Re: Timer trigger rules
Okay, you asked to trigger at those specific times so i don't see why the solutions given is not what you wanted. But if it works.. Great; I was constricted by the written rule that is stated in the wiki: https://www.domoticz.com/wiki/DzVents:_next_generation_Lua_scripting#timer_trigger_rules Be ...
- Tuesday 05 November 2024 12:48
- Forum: dzVents
- Topic: Timer trigger rules
- Replies: 6
- Views: 587
Re: Timer trigger rules
In my understanding its:
Code: Select all
timer = {'at 12:03', 'at 12:05'},
- Thursday 27 June 2024 17:41
- Forum: Show your projects
- Topic: Script for Airplanes.live api
- Replies: 59
- Views: 3686
Re: Script for Airplanes.live api
The error occurs when your filepath is not correct. I have struggled with this also, and succeded in the end 8-) I wanted to make a textfile named 'net_verbruik.txt' using some values in a script and store this on the nas. For me this did the trick: I have a map on my nas: \\NAS-1\docker\domoticz ...
- Tuesday 25 June 2024 14:23
- Forum: Bugs and Problems
- Topic: Get longer loging of status and info
- Replies: 6
- Views: 1208
Re: Get longer loging of status and info
Maybe off topic but the ip is not always 172.20.0.1. in Docker see tab Network, look at Gateway.
This shows almost the ip for within docker.
For example: Gateway states 172.19.0.1 so internal docker ip will be likely 172.19.0.2...
This shows almost the ip for within docker.
For example: Gateway states 172.19.0.1 so internal docker ip will be likely 172.19.0.2...
- Wednesday 19 June 2024 19:07
- Forum: Other questions and discussions
- Topic: historic max and min values
- Replies: 4
- Views: 481
Re: historic max and min values
Hmm, for some time Domoticz sends me an email at 23.58 with many facts about what has happened this day.. In this mail i have a section for the voltages and this does the thing i think you asked for... The script is 500+ lines long and has all sorts of rubbish and usefull information about my ...
- Sunday 16 June 2024 19:55
- Forum: Other questions and discussions
- Topic: historic max and min values
- Replies: 4
- Views: 481
Re: historic max and min values
You mean like this? http://192.168.178.2:7080/json.htm?type=command¶m=graph&sensor=counter&idx=28&range=month change ip:port and set idx to your voltage device and see the last entry for the current day. read this at 23.58 and you get your min and max today ;) .. My 100th post birthday!! 8-)
- Saturday 15 June 2024 20:48
- Forum: Other questions and discussions
- Topic: New powermeter
- Replies: 2
- Views: 423
Re: New powermeter
shift+enter on the value should erase it...
- Thursday 13 June 2024 16:32
- Forum: dzVents
- Topic: How to do a simple calculation P=U*I [Solved]
- Replies: 9
- Views: 1660
Re: How to do a simple calculation P=U*I [Solved]
Dont you read your private messages?
- Monday 10 June 2024 20:33
- Forum: Show your projects
- Topic: P1-power Bargraph textdevice
- Replies: 1
- Views: 620
Re: P1-power Bargraph textdevice
I made version 2: powerbargraph_return2.PNG powerbargraph_usage2.PNG Now the initial_value and the max_value are inside the bargraph; this gives bargraph more space to have a better resolution. I made it so that if the negative value gets to far to the left the pointer and value swap place so value ...
- Monday 03 June 2024 10:17
- Forum: Show your projects
- Topic: P1-power Bargraph textdevice
- Replies: 1
- Views: 620
P1-power Bargraph textdevice
For my last project https://www.domoticz.com/forum/viewtopic.php?p=317029#p317029 i made a bargraph with 3 colorzones. I still am testing my voltage bargraph but as rron suggested i made a P1-power bargraph to see what the power usage or delivery of the house is. So.. if there is more power produced ...
- Sunday 26 May 2024 22:32
- Forum: Show your projects
- Topic: Bargraph text-device
- Replies: 8
- Views: 1137
Re: Bargraph text-device
Would it be possible not to store the text log for a text device in order not to overload the domoticz DB ? Read line 75!!!! ----------> automatically clear the log of the textdevice; change the ip and portnumber accordingly to your setup.. domoticz.openURL('http://127.17.0.2:80/json.htm?type ...
- Saturday 25 May 2024 14:58
- Forum: Show your projects
- Topic: Bargraph text-device
- Replies: 8
- Views: 1137
Re: Bargraph text-device
Funny you mention this; now i am making a bargraph to monitor the mains voltage and this has almost the same challenge as what you are attempting. It is a bargraph that shows a bar to 2 sides, one negative, a 'neutral' point in the middle, and one positive side, so it ranges from 207 volt to 230 ...
- Tuesday 21 May 2024 19:53
- Forum: Show your projects
- Topic: Bargraph text-device
- Replies: 8
- Views: 1137
Bargraph text-device
I made a dZvents script to display values, its not wat is requested in https://www.domoticz.com/forum/viewtopic.php?t=40765 but wanted show it anyway.. The bargraph is fully customable in length and colorzones by adjusting some values. To work this script a textdevice has to be created and a source ...
- Saturday 04 May 2024 17:53
- Forum: Bugs and Problems
- Topic: timer function
- Replies: 4
- Views: 307
Re: timer function
Hi, i saw you are using points trying to align your text. Try this; replace: domoticz.devices('Netto energie verbruik').updateText(T1 ..T2 ..T3 ..T4 ..T5 ..T6) With this in your script; local message = T1 .. T2 .. T3 .. T4 .. T5 .. T6 local style = '<span style="font-family: Consolas; font-weight ...
- Wednesday 01 May 2024 16:01
- Forum: Other questions and discussions
- Topic: New Smart Meter
- Replies: 2
- Views: 1414
Re: New Smart Meter
In the device's log hold shift and click the value to be erased..
- Sunday 28 April 2024 13:28
- Forum: Suggestions
- Topic: Feature request : On / Off remaining delay display
- Replies: 2
- Views: 630
Re: Feature request : On / Off remaining delay display
What kind of timeframe do you want display? days, hours, minutes or seconds..
I cannot imagine Domotics can handle a seconds countdown but minutes remaining should be possible
I cannot imagine Domotics can handle a seconds countdown but minutes remaining should be possible
- Sunday 21 April 2024 18:29
- Forum: Python
- Topic: Python/Domoticz User Variable no update
- Replies: 8
- Views: 738
Re: Python/Domoticz User Variable no update
Could it be that you try to acces a value that lives inside a Docker-container using an outside Docker-container ip adress?