Shelly 1 +Temperature Shield

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
sieth
New user
Posts: 3
Joined: 30 Jan 2020, 16:16

Shelly 1 +Temperature Shield

#1 Post by sieth » 30 Jan 2020, 16:19

Has anyone managed to get ESPEasy to read the Temperature from the shield?

I just can't seem to get it working with ESPEasy. With the original Shelly firmware it works.

I added the picture of the official shield.

Thanks in advance!!!

Sieth
Attachments
shelly-shelly-temperature-add-on-for-shelly-1-1pm.jpg
shelly-shelly-temperature-add-on-for-shelly-1-1pm.jpg (100.83 KiB) Viewed 13700 times

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Shelly 1 +Temperature Shield

#2 Post by ThomasB » 30 Jan 2020, 20:48

I'm not a Shelly user, but from reviewing the device pin-out it appears the DS18B20 would be configured to use GPIO-0.

If that GPIO pin does not work for you then I suggest you post a clear photo of your wiring and a screenshot that shows your Environment-DS18b20 plugin settings. The images will help the Shelly users see what might need to change in your setup.

- Thomas

sieth
New user
Posts: 3
Joined: 30 Jan 2020, 16:16

Re: Shelly 1 +Temperature Shield

#3 Post by sieth » 01 Feb 2020, 19:19

Thomas,

I've included all the printscreens and photo's of my setup.
I Used GPIO-0 but no reading.

Greetings,
Sieth
Attachments
esp2.jpg
esp2.jpg (160.14 KiB) Viewed 13615 times
esp1.jpg
esp1.jpg (79.07 KiB) Viewed 13615 times
72612777-03029080-392e-11ea-9efd-9fc00d9621cf.jpg
72612777-03029080-392e-11ea-9efd-9fc00d9621cf.jpg (700.47 KiB) Viewed 13615 times
72612776-03029080-392e-11ea-9b1e-361591be1a65.jpg
72612776-03029080-392e-11ea-9b1e-361591be1a65.jpg (785.87 KiB) Viewed 13615 times

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Shelly 1 +Temperature Shield

#4 Post by ThomasB » 01 Feb 2020, 20:17

The setup seen in the screenshot looks reasonable. Are you sure the shield and DS18B20 sensor are still good? I suggest re-testing them on the original Shelly firmware to confirm operation.

I didn't find any useful info on using the Shelly 1 shield. So maybe you are wandering in uncharted territory. Hopefully someone that has walked in your shoes will drop by and lend a hand.

BTW, don't operate without the plastic covers. They protect you from the un-isolated side of AC mains.

- Thomas

sieth
New user
Posts: 3
Joined: 30 Jan 2020, 16:16

Re: Shelly 1 +Temperature Shield

#5 Post by sieth » 02 Feb 2020, 19:47

Indeed it works with the original Shelly firmware. So I know it's a firmware thing.

I think i'll have you wait until someone finds out how it can be fixed.

Thank you so far! ;)

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Shelly 1 +Temperature Shield

#6 Post by grovkillen » 02 Feb 2020, 20:51

And you have tried all the GPIOs? Sounds simple enough since it's only one pin you have to get right.
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 :idea: :idea: :idea:

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Shelly 1 +Temperature Shield

#7 Post by ThomasB » 02 Feb 2020, 20:54

I think i'll have you wait until someone finds out how it can be fixed.
I found some experimental code for the Shelly 1 shield on a Tasmota github:
https://github.com/arendst/Tasmota/comm ... e14a38eeb6

Unfortunately it shows that the DS18B20 temperature sensor will require two I/O pins: Output=GPIO-0, Input=GPIO-3. This isn't supported by ESPEasy's DS18B20 plugin.

It seems that the two GPIO pins are due to the isolation circuitry in the Shelly Shield. The shield uses a ISO7221A Dual Digital Isolator IC that supports two unidirectional signals. So the expected bi-directional access to the "One-Wire" DS18B20 has been split into separate input and output paths.

Long story short, ESPEasy currently will not support this particular Shelly application.

- Thomas

Kalm6
New user
Posts: 1
Joined: 15 Feb 2020, 21:17

Re: Shelly 1 +Temperature Shield

#8 Post by Kalm6 » 15 Feb 2020, 21:22

Shelly 1 requested ESP_Easy_mega-20200204_normal_ESP8266_1M.bin. Disconnected the port and used RX (gpio3), TX (gpio1) to connect the temperature sensor.

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

Re: Shelly 1 +Temperature Shield

#9 Post by TD-er » 16 Feb 2020, 11:31

The Shelly1 also has 2M flash, so if possible I would go for that build as it will make upgrading the firmware a lot easier.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests