-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Shelly 2 and Shelly 1 ? #2789
Comments
Interesting device (not such low priced as Sonoff devices)
|
i think the power meter would not work anymore. i have read about other devices which power meter and it did not work anymore after flashing tasmota. |
I have opened a shelly2 (https://shelly.cloud/shelly2) It contains an ESP8266EX with 2 MB flash memory (WINBOND 25Q16BVFIG) |
Hi, There are 5 pins on the backside of the board. I've traced them out, there are all you need. From top to bottom (3 pin group is top) (Groupe of 2) |
Next step, The two current shunts for the both relais outputs are coupled together to the MCP39F501. So it is not easily possible to measure each output individually. |
Hi senfkorn, yes, I can confirm the assignment of the pins on the backside of the board. |
Hi, anyone successfully installed tasmota on Shelley? Even without the power meter feature? |
Hi, I bought the Shelly 1. Is it possible to support this? |
Hi, Shelly 1 is new. I will order one. |
Where is the need of flashing the shelly (1)? Doesn't it work without cloud connection as the sonoff do? Thanks |
If you do not like having your home devices in a foreign cloud system, Tasmota is a one of the best alternative firmware. And to get it work you need to flash. |
But I thought the Shelly system comes without a cloud service?
|
#2789 (comment) |
No – and i don’t understand why you would want to flash it? Isn’t there a free webserver onboard? From what i have read there is no need to connect the device to a cloud. But i’m not a technician.
Christoph
|
Here is nice video, showing tasmota on shelly1 with ready to flash binary. https://www.youtube.com/watch?v=J20hxfUTP9I |
I have succefully flashed tasmota on the shelly1 with the .bin from link that kuzba posted. |
Are you able to run shelly again from mains (eg 230V)? I somehow destroyed the device (shelly1), it runs only from 3.3V pin header. But I probably swapped L and N wire, not sure if this can cause the trouble. So I am without toy now. |
@tmarquespt let us know how to solder wires to flush shelly 2 |
@benzino77 senfkorn already exaplined the pinout on the 5th post of this page. I'm still thinking on how to do it as I would avoid soldering such small pins. I'll probably make a connector with some needles and flash it without soldering. |
@tmarquespt when running from mains, device gets really hot and does not connect to AP. When running from 3.3V thru pin header, connects to AP and responds to commands. I guess power supply is KO. PCB schematics will help. |
@kuzba That is strange indeed. I can feel some temperature on mine but nothing out of the ordinary. It just might be an issue with the unit, you should try to return it and get a new one. FYI: Theo just made Tasmota compatible with Shelly "Only INPUT available in v6.1.1.9 as Button1n option. See changelog." |
In the video GPIO05 is selected as Switch1. I prefer to use Button1 as it will allow using the webpage for toggling the relay.
Can anyone confirm that the above config works as expected? |
Compiling error 6.1.1.9 |
That's true, but one or two pictures will be just great. |
Here is the Webpage where the video comes from: |
In this video he says the pull-up resistors have to be disabled, can that be done as part of the module preset? https://youtu.be/J20hxfUTP9I?t=416 |
@benzino77 Sure :) |
@ethan4 It should be working on the last version of Tasmota v6.1.1.9. If you want to make that change it has to be on the source before compile. You cannot change that after flashing. You might just flash the .bin file that is on the description of that video. Then you just select Shelly1 Module from configuration. |
Hello everyone! |
Should Shelly 4 pro work with Tasmota too? |
@papaloewe Nope, that one doesn't have an ESP8266 |
awesome |
Very good work. |
Add uncalibrated energy monitoring to Shelly2 (#2789)
Have a look in the file xnrg_04_mcp39f501.ino for more background information like datasheet and original olimex code used by Shelly2. To use it add define
to either user_config.h or user_config_override.h to compile. Then select module Shelly2. |
@arendst Congrats. And no smoke this time ;-) re: Shelly 1 - is support for that module to configure it as a Basic and use switch setting for its switch input? Or does Shelly 1 have its own module type selection? Thanks. Mike |
Thanks for the dedicated module type. re: sensors - understood. The only external input I plan on using these for are for light switches. In addition to the Shelly 1 "built in" flashing pins, I think it'll be ideal for placement in US circuit boxes due to its "sealed" shell and compact size. For other non closed-in use cases, I still intend to use the Sonoff devices. Mike |
I don't know anyone who would hook up sensors. Ha. You could also power with your own certified DC power supply if needed to make it even safer than throwing it in a box. That's what I did on one of my installs since I had a long lead coming off of it. |
Add energy monitoring to Shelly2 (#2789)
Just released Shelly2 energy monitoring. To calibrate mount a resistive load with known voltage, current and power and execute commands If you know your line frequency you may execute command Expect problems when executing all commands ad once using Shouldn't be a problem as you are supposed to this only once. |
I have two shelly 2 flashed with version 6.2.1 and still got the issue below. Anyone has found a workaround to this?
|
Shelly is supported only in the development version (now it is 6.2.1.6) download it from http://thehackbox.org/tasmota/ |
Wiki entry released. Feel free to update. https://github.com/arendst/Sonoff-Tasmota/wiki/Shelly-1-and-2 |
Thanks for the wiki. I'm testing shelly 2 with latest version 6.2.1.6 and I think the issue of turning on and off automatically is still present. This only occurs if it's connected a switch. I'll keep you updated |
@ricreis394 pls open a new issue for your problem. Overall shelly does not do what you experience. |
@ricreis394 I will test Shelly2 with external switches in the next few days. |
I flashed my first shelly2 ok. The 2nd one isn't working well. |
Hi gpio Shelly 2 ? |
@oremic Shelly2 is already implemented in Tasmota. You need just to select shelly 2 in module config to make it work. If you want to see the module template, see the file sonoff-template.h |
thanks |
Hi Theo,
can tasmota get support for Shelly 2?
https://shelly.cloud/shelly2/
Shelly 2 is very small wifi device with 2 relays, power meter and should also use ESP8266.
In most cases, it fits in a German flush mount box (60 mm Ø and 40 mm depth), including the previous switch and is therefore invisible.
I think there are many users who would like to use shelly 2 with tasmota.
The text was updated successfully, but these errors were encountered: