It's for a OLED display alarm.
It's send me the activate device in the ordrer.
Search found 13 matches
- Saturday 25 September 2021 22:05
- Forum: dzVents
- Topic: Help for script dzvent
- Replies: 6
- Views: 812
- Tuesday 21 September 2021 14:05
- Forum: dzVents
- Topic: Help for script dzvent
- Replies: 6
- Views: 812
Re: Help for script dzvent
thank you so much.
I've been trying to do this for days.
It's great.
I've been trying to do this for days.
It's great.
- Sunday 19 September 2021 21:00
- Forum: dzVents
- Topic: Help for script dzvent
- Replies: 6
- Views: 812
Help for script dzvent
Hello,
I made a script in DZVENT.
It works as follows:
Triggering on a detection
Extraction of the list of sensors and the lastupdate values in seconds
Memorization in a table
In orders the array in ascending order on the lastupdate value
return
{
on =
{
devices = { -- detection
'myDetector1 ...
I made a script in DZVENT.
It works as follows:
Triggering on a detection
Extraction of the list of sensors and the lastupdate values in seconds
Memorization in a table
In orders the array in ascending order on the lastupdate value
return
{
on =
{
devices = { -- detection
'myDetector1 ...
- Tuesday 03 November 2020 9:30
- Forum: ESP8266
- Topic: Get analog value for anemometer (ESPEASY)
- Replies: 2
- Views: 3800
Re: Get analog value for anemometer (ESPEASY)
Hello,
I opened a syslog connection with the esp.
And I discovered abnormal messages every time I lose the value of my variables.
Tue Nov 03 02:42:32 2020;192.168.1.49; <5>ESP_Weather EspEasy: WIFI : DHCP IP: 192.168.1.49 (ESP-Weather-2) GW: 192.168.1.1 SN: 255.255.255.0 duration: 49 ms
Tue Nov ...
I opened a syslog connection with the esp.
And I discovered abnormal messages every time I lose the value of my variables.
Tue Nov 03 02:42:32 2020;192.168.1.49; <5>ESP_Weather EspEasy: WIFI : DHCP IP: 192.168.1.49 (ESP-Weather-2) GW: 192.168.1.1 SN: 255.255.255.0 duration: 49 ms
Tue Nov ...
- Sunday 01 November 2020 18:59
- Forum: ESP8266
- Topic: Get analog value for anemometer (ESPEASY)
- Replies: 2
- Views: 3800
Get analog value for anemometer (ESPEASY)
Hello,
I am using an analog anemometer on the analog input of an ESP8266.
I store the maximum wind value (gust) in a variable (var2).
But my code doesn't work because the variable doesn't seem persistent.
Here is my code :
On System#Boot do
let,1,0 // [var#1]= speed ms
let,2,0 // [var#2]= max ...
I am using an analog anemometer on the analog input of an ESP8266.
I store the maximum wind value (gust) in a variable (var2).
But my code doesn't work because the variable doesn't seem persistent.
Here is my code :
On System#Boot do
let,1,0 // [var#1]= speed ms
let,2,0 // [var#2]= max ...
- Sunday 26 July 2020 11:14
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 92850
Re: Python Plugin: Zigbee2Mqtt
For me, it's only work with firefox (not chrome)
- Tuesday 21 July 2020 9:22
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 92850
Re: Python Plugin: Zigbee2Mqtt
My aqara motion devices are well recognized but with a bulb icon.
I can change the icon to a motion icon in the device, but at each update of the device, the icon turns back to a light bulb.
Any solution ?
Envoyé de mon EML-L29 en utilisant Tapatalk
I can change the icon to a motion icon in the device, but at each update of the device, the icon turns back to a light bulb.
Any solution ?
Envoyé de mon EML-L29 en utilisant Tapatalk
- Monday 23 November 2015 21:03
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Re: Traffic with waze in Domoticz
I use a python script, It's works great.
I put this script in the crontab and run it every 5 min.
#!/usr/bin/env python2.7
import time
import RPi.GPIO as GPIO
import urllib2
import json
# Parametres
domoticzserver="192.168.0.20:8083"
#requete waze
print "home - work"
idx='113'
startlat ...
I put this script in the crontab and run it every 5 min.
#!/usr/bin/env python2.7
import time
import RPi.GPIO as GPIO
import urllib2
import json
# Parametres
domoticzserver="192.168.0.20:8083"
#requete waze
print "home - work"
idx='113'
startlat ...
- Monday 31 August 2015 21:31
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Re: Traffic with waze in Domoticz
Super,
Thanks, I'm not good in php.
Thanks, I'm not good in php.
- Monday 31 August 2015 20:28
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Re: Traffic with waze in Domoticz
I don't understand,
Travel times are increased by an hour.
For a normal time 18min, I get 1 hour 18 min.
For a normal time 1 hour 30 min, I get 2 hour 30 min.
Is possible to decrease an hour.
I tried
$timestamp = mktime($tijd);
$timestamp -= 3600;
$tijd = date($timestamp);
but it's not works ...
Travel times are increased by an hour.
For a normal time 18min, I get 1 hour 18 min.
For a normal time 1 hour 30 min, I get 2 hour 30 min.
Is possible to decrease an hour.
I tried
$timestamp = mktime($tijd);
$timestamp -= 3600;
$tijd = date($timestamp);
but it's not works ...
- Monday 31 August 2015 17:55
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Re: Traffic with waze in Domoticz
Yes...
It's works
Thanks a lot
It's works
Thanks a lot
- Monday 31 August 2015 11:04
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Re: Traffic with waze in Domoticz
It's interesting but I don't use a web server, so no php script.
That's why I'd like a shell script or python.
The hardest for me is to extract the time value of the answer to the request.
Thank for your answer
That's why I'd like a shell script or python.
The hardest for me is to extract the time value of the answer to the request.
Thank for your answer
- Saturday 29 August 2015 9:31
- Forum: LUA
- Topic: Traffic with waze in Domoticz
- Replies: 110
- Views: 36306
Traffic with waze in Domoticz
Hello, there is a new API for Waze traffic.
https://www.waze.com/row-RoutingManager/routingRequest?
I am looking to get travel time Home - Work with this request.
Actually, I can get an XML file via the request,
(for me, latitude and longitude are reversed)
https://www.waze.com/row-RoutingManager ...
https://www.waze.com/row-RoutingManager/routingRequest?
I am looking to get travel time Home - Work with this request.
Actually, I can get an XML file via the request,
(for me, latitude and longitude are reversed)
https://www.waze.com/row-RoutingManager ...