Search found 22 matches
- Friday 17 September 2021 11:10
- Forum: Zigbee
- Topic: How to calibrate a DIY Soil Moisture Sensor - Zigbee2mqtt with Domoticz
- Replies: 0
- Views: 510
How to calibrate a DIY Soil Moisture Sensor - Zigbee2mqtt with Domoticz
Hi, I'm running Zigbee2mqtt with Domoticz and I've made a soil moisture sensor using a CC2530 and a capacitive sensor, inspired by this example https://community.home-assistant.io/t/diy-zigbee-capacitive-soil-moisture-sensor/251031 The board is flashed with the ptvo firmware and the device is ...
- Sunday 15 March 2020 12:07
- Forum: LUA
- Topic: GarbageCalendar (new version) lua scripts
- Replies: 474
- Views: 77198
Re: GarbageCalendar (new version) lua scripts
Hi, First of all, thanks for all this hard work! I'm using the AFW plugin. I'm looking for a way to get a notification being showed on a Nodemcu with onboard 0,96 inch oled display, which is next to my frontdoor. It already would be verry helpful for me to be able to set a uservariable to 1 or 0 ...
- Friday 01 February 2019 14:40
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
I've created an issue for this on Github. I'll create a fix probably coming weekend. Hi, any news on this already? The change was a bit more complex than anticipated. I've a first version working. Are you willing to test? I can send you a link tomorrow. Yes of course I’m willing to test! Again t ...
- Friday 01 February 2019 10:27
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
[ I expect it will start playing after 1,5 hrs. I think you should make the time bigger than the dashticz refresh time. You can set this last one via the config['dashticz_refresh'] setting in your CONFIG.js (in minutes, not msec) Does the stream also autoplay at the first start of Dashticz? And ...
- Tuesday 22 January 2019 8:44
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
cheers!
- Monday 21 January 2019 9:39
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
[ I expect it will start playing after 1,5 hrs. I think you should make the time bigger than the dashticz refresh time. You can set this last one via the config['dashticz_refresh'] setting in your CONFIG.js (in minutes, not msec) Does the stream also autoplay at the first start of Dashticz? And ...
- Saturday 19 January 2019 15:55
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
That seems to work for now, thanks!! Does this mean the refreshiframe value now is never reached because it starts over counting after the imagerefresh or will it still start playing the streams after 1,5 hrs?
- Saturday 19 January 2019 15:15
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
Is it the image on the button that is refreshed and start to play, or is it the stream that starts to play (like you pressed the button)? Can you post the definition of the button from your CONFIG.js here? There are two refresh parameters you can play with: refresh and refreshiframe You can add ...
- Friday 18 January 2019 14:02
- Forum: Bugs
- Topic: Dashticz - Bug report
- Replies: 557
- Views: 130963
Re: Dashticz - Bug report
Hi guys, I'm running Dashticz on a wall mounted Android tablet using the Fully browser. Main reason for using this browser is that the inbuild player is capable of handling RTSP so I can open the livestreams of my two Foscam babymonitors. So far so good. I've created two buttons for the cams on my ...
- Tuesday 22 November 2016 12:55
- Forum: LUA
- Topic: is there something like valuechanged instead of devicechanged in Lua?
- Replies: 6
- Views: 1820
Re: is there something like valuechanged instead of devicechanged in Lua?
Thanks for the quick replies! I guess that the suggestion made by Egregius is my best option. Since the switch 'Verwarming Comfort' is a push button launching a bash to control my thermostat I can't get a status on or off on that one. I'll post my progress later on. Thanks again to the both of you!
- Tuesday 22 November 2016 10:42
- Forum: LUA
- Topic: is there something like valuechanged instead of devicechanged in Lua?
- Replies: 6
- Views: 1820
is there something like valuechanged instead of devicechanged in Lua?
Hi, Is there something like a valuechanged command in LUA which can be used instead of devicechanged? My problem is this. I'm using a a FosBaby camera with thermometer in my babyroom. Through a bash script I collect the current temperature every minute to update a virtual sensor in Domoticz. If the ...
- Thursday 03 November 2016 15:22
- Forum: Cameras
- Topic: SOLVED: How to use cgi temperature output Foscam to update virtual sensor?
- Replies: 2
- Views: 2632
Re: SOLVED: How to use cgi temperature output Foscam to update virtual sensor?
For those who might be interested. To get the current temperature measured by the temperature sensor of the FosBaby and use that value to update a virtual temperature sensor in Domoticz I use the folowing bash-script which runs every minute through a crontab. #!/bin/bash content=$(curl "http ...
- Monday 31 October 2016 11:23
- Forum: Cameras
- Topic: SOLVED: How to use cgi temperature output Foscam to update virtual sensor?
- Replies: 2
- Views: 2632
SOLVED: How to use cgi temperature output Foscam to update virtual sensor?
Hi, I've recently bought a Fosbaby IP Camera to be used in a babyroom. One of it's features is that is has a Temperature sensor. In the WebUI you can set a minimum and maximum temperature so an alert can be sent if the current temperatue is out of that range. Now I would like to use the current ...
- Tuesday 23 February 2016 21:51
- Forum: PHP and all others
- Topic: PHP script to get device variable for use of Lua
- Replies: 2
- Views: 2089
Re: PHP script to get device variable for use of Lua
Hey, thank you very much for this post!! I've been looking for a solution like this for about a week now. The approach works fine, I my case I'm using this to update a uservariable from a virtual sensor which means creating a dummy switch with a specific On Action is an extra step. Today is the ...
- Tuesday 23 February 2016 14:20
- Forum: Other questions and discussions
- Topic: Éxtract value from json status output
- Replies: 0
- Views: 530
Éxtract value from json status output
Hi, Im trying to get a value of a dummy sensor to be able to use it in an event. Value is shown on the dashboard, but not seen by the event system. When I check all the incomming data with a lua script with just for i, v in pairs(devicechanged) do print(i, v) the sensor value is empty. When I try to ...
- Saturday 09 January 2016 14:00
- Forum: Other questions and discussions
- Topic: How to use time in LUA?
- Replies: 5
- Views: 11001
Re: How to use time in LUA?
Ah, I could have guessed.. Thanks again, working like a charm now!
- Saturday 09 January 2016 13:24
- Forum: Other questions and discussions
- Topic: How to use time in LUA?
- Replies: 5
- Views: 11001
Re: How to use time in LUA?
This is an example with the function I use: function timebetween(s,e) timenow = os.date("*t") year = timenow.year month = timenow.month day = timenow.day s = s .. ":00" -- add seconds in case only hh:mm is supplied e = e .. ":00" shour = string.sub(s, 1, 2) sminutes = string.sub(s, 4, 5) sseconds ...
- Saturday 09 January 2016 11:46
- Forum: Other questions and discussions
- Topic: How to use time in LUA?
- Replies: 5
- Views: 11001
How to use time in LUA?
Hey, Maybe this is a stupid question, but I haven't been able to find the answer on this forum nor on the wiki. I'm writing a lua script that has to run with different actions on a device change depending on the time of day. This works fine: time = os.date("*t") commandArray = {} if (devicechanged ...
- Sunday 03 January 2016 14:25
- Forum: Other questions and discussions
- Topic: Ignore switch A when status switch B is off ?
- Replies: 2
- Views: 803
Re: Ignore switch A when status switch B is off ?
You could create a virtual switch for closing the curtains instead. Use a blockly event to check the status of the curtains when you trigger the virtual switch. Hey, thanks for your reply. I actually tried the combination between a virtual switch and a blocky but it turned out that there was still ...
- Friday 01 January 2016 13:52
- Forum: Other questions and discussions
- Topic: Ignore switch A when status switch B is off ?
- Replies: 2
- Views: 803
Ignore switch A when status switch B is off ?
Hi, Does anyone know whether it's possible to ignore a switch command for device A when device B has a certain status? I've automated my curtains using an electric motor which rolls up or releases the curtain rope. A modified contact switch and a small magnet in the curtain tells me if the curtain ...