Looking for a Zigbee tag
Moderator: leecollings
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Looking for a Zigbee tag
I am looking for a battery operated zigbee device that I can keep in the trunk of my car. In Domoticz I want to be able to see if the car is on the driveway, or if it is away.
I thought about using a simple temp/hum sensor, but the sensors I have donot update very frequently. Also, when I look at the "last seen" date and time on the device icon, it is not the same as the otherdevices_lastupdate value.
Goal was to have a small LUA script triggered by a change of the temp/hum sensor.
Ideally the device would be a beacon, sending out a signal periodically.
I know this is easy using an ESP unit, but that would not run on batteries for a very long time.
Any ideas? Suggestions?
I thought about using a simple temp/hum sensor, but the sensors I have donot update very frequently. Also, when I look at the "last seen" date and time on the device icon, it is not the same as the otherdevices_lastupdate value.
Goal was to have a small LUA script triggered by a change of the temp/hum sensor.
Ideally the device would be a beacon, sending out a signal periodically.
I know this is easy using an ESP unit, but that would not run on batteries for a very long time.
Any ideas? Suggestions?
Hans
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
I have read this idea here before. Perhaps also by you
I do not think the zigbee protocol is build for this. In battery mode sensors only have very limited contact.
Perhaps with a powered device it will work better, it will announce itself better. So perhaps try a USB zigbee router. Ikea has had one that was 230V but was in real a USB device with separate 230V adapte. I don't know if they still sell them.
I do not think the zigbee protocol is build for this. In battery mode sensors only have very limited contact.
Perhaps with a powered device it will work better, it will announce itself better. So perhaps try a USB zigbee router. Ikea has had one that was 230V but was in real a USB device with separate 230V adapte. I don't know if they still sell them.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 1975
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Looking for a Zigbee tag
Out of the Zigbee protocol, if the device is not reaching its network, I think that after a period of time where it trys to rejoin, it will just go on sleep.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 104
- Joined: Saturday 25 November 2017 17:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8153
- Location: Czech Rep.
- Contact:
Re: Looking for a Zigbee tag
Why so complicated when your 12V car battery can run ESP for maybe more than 100 years?
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
-
- Posts: 616
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Looking for a Zigbee tag
I have a zwave PIR (that also send temp, but as you noticed that's advertised only when there is some change & sometimes, even half a degree car be hours): A least, I know between PIR triggers the car was here or out. If there is temp reports in between I may even deduce the car was close to my home.
My goal was not to know if the car is there or not in my case. But 3 years ago my car was not there anymore in the morning so I wanted to have something that could be connected to my own domoticz scripted alarm system: So between 23h00 and 6h00 there is a car alarm mode that becomes active on top of house one, so if there is motion in the car this rings one of the sirens (the attic one, just over the bedroom) for 10s so I can get out & manage this "the indian lathi" way.
Not sure this may doable using zigbee: Not many zigbee devices in my system for now but range looks lower than zwave (already limited, not talking of more recent zwave LR changes). Anyway as all radio stuff this may be jammed.
Maybe a bluetooth tag for some apple/android find my device standard could be better for your usage, but forget a direct link to domoticz. I'm considering setting some on my cats as an alternative to GPS+4G that gets better precision but lack endurance & need a monthly subscription.
-
- Posts: 536
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Looking for a Zigbee tag
I use this for my car and camper: https://nl.aliexpress.com/item/10050064 ... pt=glo2nld
Together with the cheapest 4G sim card you always know exactly where you car is and has been.
And if it is stolen you can track it.
I use Traccar on my NAS for my phones (there is a free app) and cars to track those and keep history for more then a year.
On Traccar you can send all kind of info to Domoticz very easely, like location, speed, and others.
That tracker uses only a few milliamps and with connection to the car battery it is alive for more that a year.
Together with the cheapest 4G sim card you always know exactly where you car is and has been.
And if it is stolen you can track it.
I use Traccar on my NAS for my phones (there is a free app) and cars to track those and keep history for more then a year.
On Traccar you can send all kind of info to Domoticz very easely, like location, speed, and others.
That tracker uses only a few milliamps and with connection to the car battery it is alive for more that a year.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
Would the SIM card use data in tha bundle?Kedi wrote: ↑Monday 25 November 2024 11:07 I use this for my car and camper: https://nl.aliexpress.com/item/10050064 ... pt=glo2nld
Together with the cheapest 4G sim card you always know exactly where you car is and has been.
And if it is stolen you can track it.
I use Traccar on my NAS for my phones (there is a free app) and cars to track those and keep history for more then a year.
On Traccar you can send all kind of info to Domoticz very easely, like location, speed, and others.
That tracker uses only a few milliamps and with connection to the car battery it is alive for more that a year.
Hans
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
OK, today I decided to take the simple route. I have an ESP8266, installed Tasmota. Tried to set up a timer to send a message to MQTT every minute, but no success.
In stead, I found out the unit (by default) sends out a status message every 5 minutes, which is good enough.
MQTT passes this on to Domoticz, where it switches a heartbeat switch on. A device triggered LUA script immediately turns it off again.
Another LUA script is time triggered, and analyzes the age of the switch. If it is more than 300 seconds, the sensor is off or out of reach.
This is good enough for my purposes.
In stead, I found out the unit (by default) sends out a status message every 5 minutes, which is good enough.
MQTT passes this on to Domoticz, where it switches a heartbeat switch on. A device triggered LUA script immediately turns it off again.
Another LUA script is time triggered, and analyzes the age of the switch. If it is more than 300 seconds, the sensor is off or out of reach.
This is good enough for my purposes.
Hans
-
- Posts: 536
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Looking for a Zigbee tag
Yes, but only a few Mb per month.manjh wrote: ↑Monday 25 November 2024 18:03Would the SIM card use data in tha bundle?Kedi wrote: ↑Monday 25 November 2024 11:07 I use this for my car and camper: https://nl.aliexpress.com/item/10050064 ... pt=glo2nld
Together with the cheapest 4G sim card you always know exactly where you car is and has been.
And if it is stolen you can track it.
I use Traccar on my NAS for my phones (there is a free app) and cars to track those and keep history for more then a year.
On Traccar you can send all kind of info to Domoticz very easely, like location, speed, and others.
That tracker uses only a few milliamps and with connection to the car battery it is alive for more that a year.
My cheapest provider has sim-only abo with 1Gb and 150 SMS for € 2,-- for the first 9 months and after that € 4,-- per month.
For € 48,-- you can can protect your car for theft, and with the phone App and Traccar you can always find your car where you have parked it.
There is a free solution on a chinese site to track your car, but I don't use that, because the Chinees might trcak you too.
I am left with something like 999 / 998 Mb free every month.
I use the SMS for setup and every day 1 SMS as a 'is-still-alive' message from the device to my phone.
I think it is really cheap to give your car a 'hidden' tracker.
B.T.W. Traccar that runs on my NAS in a docker container is freeware.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
Looks interesting. I just bought a new car with a full cat3 alarm, but it does not have a tracker and this could be a way to add it.Kedi wrote: ↑Wednesday 27 November 2024 8:17Yes, but only a few Mb per month.manjh wrote: ↑Monday 25 November 2024 18:03Would the SIM card use data in tha bundle?Kedi wrote: ↑Monday 25 November 2024 11:07 I use this for my car and camper: https://nl.aliexpress.com/item/10050064 ... pt=glo2nld
Together with the cheapest 4G sim card you always know exactly where you car is and has been.
And if it is stolen you can track it.
I use Traccar on my NAS for my phones (there is a free app) and cars to track those and keep history for more then a year.
On Traccar you can send all kind of info to Domoticz very easely, like location, speed, and others.
That tracker uses only a few milliamps and with connection to the car battery it is alive for more that a year.
My cheapest provider has sim-only abo with 1Gb and 150 SMS for € 2,-- for the first 9 months and after that € 4,-- per month.
For € 48,-- you can can protect your car for theft, and with the phone App and Traccar you can always find your car where you have parked it.
There is a free solution on a chinese site to track your car, but I don't use that, because the Chinees might trcak you too.
I am left with something like 999 / 998 Mb free every month.
I use the SMS for setup and every day 1 SMS as a 'is-still-alive' message from the device to my phone.
I think it is really cheap to give your car a 'hidden' tracker.
B.T.W. Traccar that runs on my NAS in a docker container is freeware.
When I follow the link I can see 4 options: with/without battery, and with/without relay. I understand the battery, but what would the relay do?
Also, how do you configure the device?
About price: this is a pretty good deal at Aliexpress! The version without relay is € 17,19. I can see the same device at Bol.com for €72,50!!!
Update: when looking closely at the pictures on the Aliexpress offering, I see that the version without relay supports 2G, and the one with relay 4G. Sounds weird, why would you need a relay for that?
Hans
-
- Posts: 33
- Joined: Wednesday 22 July 2015 21:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Looking for a Zigbee tag
alwaysconnected.eu had one bundle for all your sim carts. I have 3 trackers, 2 car, one personal. I use Traccar as well.
@kedi please share your domoticz intergration.
@kedi please share your domoticz intergration.
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Looking for a Zigbee tag
Hmmm indeed your 12V battery can power an ESP for a long long time!
If all you want to know if your car is on the driveway, you could use two ESP's, one in the car that sends out a keep-alive message (ping) every minute (or faster), and one inside the house (close to the car) that acts as a gateway
If you use the ESP-Now protocol (which is standard supported these days), you get the signal strength as well.
The gateway could connect to a MQTT broker and update a sensor, which can be received by Domoticz (with MQTT-AD for example)
The range of ESP-Now is quite far, and the ESP in the car does not need to be connected to your WiFi network at all.
If all you want to know if your car is on the driveway, you could use two ESP's, one in the car that sends out a keep-alive message (ping) every minute (or faster), and one inside the house (close to the car) that acts as a gateway
If you use the ESP-Now protocol (which is standard supported these days), you get the signal strength as well.
The gateway could connect to a MQTT broker and update a sensor, which can be received by Domoticz (with MQTT-AD for example)
The range of ESP-Now is quite far, and the ESP in the car does not need to be connected to your WiFi network at all.
Quality outlives Quantity!
-
- Posts: 7
- Joined: Tuesday 26 November 2024 11:07
- Target OS: Windows
- Domoticz version:
- Location: India
- Contact:
Re: Looking for a Zigbee tag
Hello Everyone,
Has anyone used a low-power Bluetooth tag or beacon with Domoticz for something like this? Can it work as an alternative to Zigbee or ESP devices?
Regards,
Sumit.
Has anyone used a low-power Bluetooth tag or beacon with Domoticz for something like this? Can it work as an alternative to Zigbee or ESP devices?
Regards,
Sumit.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
Good idea, with openMQTTgateway https://docs.openmqttgateway.com/#using-openmqttgateway which supports MQTT AD you can use bluetooth beaconssumitrathore wrote: ↑Friday 29 November 2024 10:55 Hello Everyone,
Has anyone used a low-power Bluetooth tag or beacon with Domoticz for something like this? Can it work as an alternative to Zigbee or ESP devices?
Regards,
Sumit.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 536
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Looking for a Zigbee tag
Ofcourse, Im my traccar.conf I added:
Code: Select all
<entry key='forward.enable'>true</entry>
<entry key='forward.type'>url</entry>
<entry key='forward.url'>http://192.168.2.xxx:8080/json.htm?type=command&param=updateuservariable&vname=Location&vtype=String&vvalue={name};{latitude};{longitude};{altitude};{speed};{course};{fixTime}</entry>
The string in Domoticz looks like
Code: Select all
<Naam>;51.9xxxx;5.5xxxxx;75.30000305175781;2.1388249045958516;163.22006225585938;1732883054000
Code: Select all
on = {
variables = {
"Location",
},
},
Code: Select all
local function convertTime(nTime)
return dz.time.timestampToDate(nTime / 1000, 'yyyy-mm-dd time')
end
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 536
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Looking for a Zigbee tag
Use the 4G because 2G is not used anymore in Europe.
The relay can be used to shutoff the engine by an SMS command, in case your car is stolen.
Device is configured by sending some SMS commands.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 33
- Joined: Wednesday 22 July 2015 21:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Looking for a Zigbee tag
You can't sms to the number, i use another sim for that in de beginning to setup the device.
-
- Posts: 7
- Joined: Tuesday 26 November 2024 11:07
- Target OS: Windows
- Domoticz version:
- Location: India
- Contact:
Re: Looking for a Zigbee tag
Thank you very much.
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Looking for a Zigbee tag
This is a cheap solution. The one time cost for the sim card is €6,95. A 1 Gig data bundle now costs €4,95 (black friday deal).
The tracker costs €25,19 from Aliexpress.
So the one time cost is about €32, plus the annual cost of the data (now €4,95). Not bad!
Hans
-
- Posts: 536
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Looking for a Zigbee tag
Yes, it is really low cost and works perfect for 1 of my cars already for more then 8 years, without a problem.
And now with the hint from @BazemanKM it will be a lot cheaper in the future. Tnx.
I ordered a few sims and a 1Gb bundle for black friday prices already.
And will change them as soon as the come in.
And now with the hint from @BazemanKM it will be a lot cheaper in the future. Tnx.
I ordered a few sims and a 1Gb bundle for black friday prices already.
And will change them as soon as the come in.
Logic will get you from A to B. Imagination will take you everywhere.
Who is online
Users browsing this forum: No registered users and 1 guest