1-Wire IButton
Moderators: grovkillen, Stuntteam, TD-er
1-Wire IButton
Hi Guys,
i am looking into using ESPeasy for my home automation system on FHEM basis.
Right now i am still using Mysensors, but the often really bad NRF24 clones are really killing me.
So therefore i looked into other options, so here I am
My only Nodemcu already runs ESPeasy as PIR & Temp,Hum, Pres sensor. Absolutly flaweless! very nice! I think I will also be able to excchange all the other sensors, only one has a big question mark:
The "who is at home" key holder, it has 4 magnetic 1-Wire readers and every key has a I-Button with unic SN attached to it. The reader works with the 1-Wire protocoll and this i can not find here (yet).
Do you now any clues if this has been done yet with easyesp?
thanks in Advance!
Jeti
i am looking into using ESPeasy for my home automation system on FHEM basis.
Right now i am still using Mysensors, but the often really bad NRF24 clones are really killing me.
So therefore i looked into other options, so here I am
My only Nodemcu already runs ESPeasy as PIR & Temp,Hum, Pres sensor. Absolutly flaweless! very nice! I think I will also be able to excchange all the other sensors, only one has a big question mark:
The "who is at home" key holder, it has 4 magnetic 1-Wire readers and every key has a I-Button with unic SN attached to it. The reader works with the 1-Wire protocoll and this i can not find here (yet).
Do you now any clues if this has been done yet with easyesp?
thanks in Advance!
Jeti
Re: 1-Wire IButton
Hello,
that reader is not supported atm as far as i can see.
1wire may be a bit of a problem as there are different protocols called 1wire...
There are two plugins using 1wire atm, the DS18B20 temperature sensor which uses the
original 1wire developed by Dallas. The DHT11 and DHT22 use a 1wire which is not
compatible to the Dallas 1wire.
It might be possible for one of the dev's to derive a plugin for your readers from one o the existing plugins.
Please give some more info about the readers you use. As far as i can see from the "Loxone"
webpage it seems to use the Dallas protocoll but i'm not sure. Do you use the "Loxone"?
(Very bad suggestion: Try it with the DS18B20 setting... but it's very likely results may be strange or fail completely)
Alternatives:
If everything else goes wrong there are some other possibilities.
- ESPEasy can use RFID readers (Wiegand or PN532).
- FHEM has a "presence" module. I use it to check presence by detecting smartphone bluetooth.
(No connection needed - just bluetooth must be activated on the phone)
Regards
Shardan
that reader is not supported atm as far as i can see.
1wire may be a bit of a problem as there are different protocols called 1wire...
There are two plugins using 1wire atm, the DS18B20 temperature sensor which uses the
original 1wire developed by Dallas. The DHT11 and DHT22 use a 1wire which is not
compatible to the Dallas 1wire.
It might be possible for one of the dev's to derive a plugin for your readers from one o the existing plugins.
Please give some more info about the readers you use. As far as i can see from the "Loxone"
webpage it seems to use the Dallas protocoll but i'm not sure. Do you use the "Loxone"?
(Very bad suggestion: Try it with the DS18B20 setting... but it's very likely results may be strange or fail completely)
Alternatives:
If everything else goes wrong there are some other possibilities.
- ESPEasy can use RFID readers (Wiegand or PN532).
- FHEM has a "presence" module. I use it to check presence by detecting smartphone bluetooth.
(No connection needed - just bluetooth must be activated on the phone)
Regards
Shardan
Regards
Shardan
Shardan
Re: 1-Wire IButton
Thanks for the input.
Yes I use the original Dallas ones.
I will check on the weekend. ( as I had to travel for business...). And provide feedback.
Thanks
Yes I use the original Dallas ones.
I will check on the weekend. ( as I had to travel for business...). And provide feedback.
Thanks
Re: 1-Wire IButton
I just tried to get it runnig with the DS18B20 option, but no luck.
Also the IButton reader only has 2 Wires.
Thanks for the tips with FHEM or RFID, both not ideal. The really nice thing for the magnetic iButtons is the Key Ring board, where everybody just hangs their key -> easy and reliable presence detection
Any chance getting this as a plugin? As i just loked through the sketch it will not be a easy task...
I guess i need to lok into the ProMiniExtender could this work? as i do already have a working script for the Arduino.
thanks
Also the IButton reader only has 2 Wires.
Thanks for the tips with FHEM or RFID, both not ideal. The really nice thing for the magnetic iButtons is the Key Ring board, where everybody just hangs their key -> easy and reliable presence detection
Any chance getting this as a plugin? As i just loked through the sketch it will not be a easy task...
I guess i need to lok into the ProMiniExtender could this work? as i do already have a working script for the Arduino.
thanks
Re: 1-Wire IButton
If it has 2 wires it uses "phatnom voltage".
Add a 10 KOhm resistor from 3,3V to the data wire.
Regards
Shardan
Add a 10 KOhm resistor from 3,3V to the data wire.
Regards
Shardan
Regards
Shardan
Shardan
Re: 1-Wire IButton
-> that helped, thanks!
now the nodemcu finds a address, which is exactly what i need, but of course with the temperature look up:
now the nodemcu finds a address, which is exactly what i need, but of course with the temperature look up:
i guess i need to get rid of the temperature part and make it search for the adress every x seconds and the use the adress, lets see.DS : Temperature: Error! (1-a1-33-7b-1-0-0-b)
Re: 1-Wire IButton
Hello,
I have just created a pull request for the IButtons.
https://github.com/letscontrolit/ESPEasy/pull/1468
Greetings,
Hendrik
I have just created a pull request for the IButtons.
https://github.com/letscontrolit/ESPEasy/pull/1468
Greetings,
Hendrik
Re: 1-Wire IButton
Hi Hendrik
Thank you for the plugin. i see the ibutton with the right address in my devices, but the (FHEM) controller dosn't send State-informations to my fhem espeasy module.
Can you help me to solve the problem?
My Log:
Thank you an regards eppi
Thank you for the plugin. i see the ibutton with the right address in my devices, but the (FHEM) controller dosn't send State-informations to my fhem espeasy module.
Can you help me to solve the problem?
My Log:
Code: Select all
20691: DS : iButton searching for address: 1-6d-46-aa-16-0-0-76 found: 1-6d-46-aa-16-0-0-76-fd
Re: 1-Wire IButton
Hello,
I'm testing the iButton plugin.
GIT version: mega-20181028
I have two problems.
--I do not get anything on the controller.
--the port is not filled.
the sysinfo device is ok, but not the iButton
sorry for my English. (google translate)
Do you have a solution ?
I'm testing the iButton plugin.
GIT version: mega-20181028
I have two problems.
--I do not get anything on the controller.
--the port is not filled.
the sysinfo device is ok, but not the iButton
sorry for my English. (google translate)
Do you have a solution ?
sorry for my English ! i use google translat.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: 1-Wire IButton
Don't have a button myself. But shouldn't the interval be set to 0?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: 1-Wire IButton
yes when the Ibutton is not present. value=0
but nothing in the controller.
but nothing in the controller.
sorry for my English ! i use google translat.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: 1-Wire IButton
I mean the interval set in the plugin. You have it set to 30 seconds, try setting it to 0.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: 1-Wire IButton
Ah OK.
impossible to set the interval to 0.
but with 1, still nothing.
I tried with a dummy, it does not work.
I compared in IDE Arduino the plugin P080 iButton and P004 Dallas.
line 120 // string += String (ExtraTaskSettings.TaskDevicePluginConfigLong [x], HEX);
is this normal the //? in front of String ......
regrettably, I can not compile with IDE Arduino.
impossible to set the interval to 0.
but with 1, still nothing.
I tried with a dummy, it does not work.
I compared in IDE Arduino the plugin P080 iButton and P004 Dallas.
line 120 // string += String (ExtraTaskSettings.TaskDevicePluginConfigLong [x], HEX);
is this normal the //? in front of String ......
regrettably, I can not compile with IDE Arduino.
sorry for my English ! i use google translat.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: 1-Wire IButton
I don't have that hardware myself. I suggest you add an issue on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: 1-Wire IButton
I set the plugin up and everything works, except sending the states of the readers via MQTT. I activated the checkbox "send to controller", still nothing. Can someone help?
Thanks!
Jan
Thanks!
Jan
Re: 1-Wire IButton
Hi everybody,
is here anybody still looking into 1-Wire ibuttons for espeasy?
I ran into the same situation as jankir...
thanks
is here anybody still looking into 1-Wire ibuttons for espeasy?
I ran into the same situation as jankir...
thanks
Who is online
Users browsing this forum: Google [Bot] and 58 guests