How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#1 Post by tparvais » 19 Oct 2016, 22:16

Hello

I found this library for arduino to read 1-wire counter DS2423 https://github.com/jbechter/arduino-onewire-DS2423

How is it possible to integrate as a new espeasy plugin ?

Thomas

id001
New user
Posts: 2
Joined: 04 Nov 2016, 15:41

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#2 Post by id001 » 04 Nov 2016, 15:45

+1

I would love this, too, so I can access my gas counter via network.

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#3 Post by tparvais » 04 Nov 2016, 15:57

I found a guy who implemented MQTT on ESP8266 for Dallas AAG weather station, which is using DS2423...

http://www.sariwating.net/2016/04/10/mq ... r-station/

His code should be investiguated...

Thomas

ToniA
Normal user
Posts: 69
Joined: 26 Aug 2016, 20:37

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#4 Post by ToniA » 14 Sep 2020, 09:07

Long overdue, but I finally published the plugin I've been running for some years. I just refactored it, based on latest _P004_Dallas.ino, so it works with the most current release, mega-20200913. I have tested it both on ESP8266 (Wemos D1 mini) and ESP32 (M5Stack Atom Lite).

https://github.com/letscontrolit/ESPEas ... ounter.ino

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#5 Post by TD-er » 14 Sep 2020, 10:18

Thanks, I will include it in the main repo, so it can also be incorporated when the Dallas code gets refactored into a central 1-wire handler.

ToniA
Normal user
Posts: 69
Joined: 26 Aug 2016, 20:37

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#6 Post by ToniA » 14 Sep 2020, 10:43

Yes, I noticed that P004 (Temperature) and P080 (iButton) have almost the same 1-wire low-level code. And now I made the third copy of it.

Is there any reason to not use the standard Arduino OneWire and DallasTemperature libraries?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

#7 Post by TD-er » 14 Sep 2020, 10:50

Absolutely there is a reason for it... but I don't know it :)

Either there wasn't any when the Dallas plugin was written, or it wasn't working right or maybe the only one available back then was using the wrong license.
I simply don't know.


Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 36 guests