Тёмный

ESP8266 to monitor your electricity with SDM meters 

DIY Tech & Repairs
Подписаться 38 тыс.
Просмотров 59 тыс.
50% 1

Build of ESP8266 to monitor your electricity with Modbus meters like SDM630 or 120
-- More information below! --
More information to be found on my webpage:
diytechandrepairs.nu/esp8266-t...
There you find the drawing including the list to get
Easy checkout ebay: (Aff linked)
ESP8266 ebay.to/2CWIbxD
TTL to RS485 converter ebay.to/2Pbq9gY
SDM630 or 120 ebay.to/2OBMLI0 ebay....
5 V din rail PSU ebay.to/2q573Ld
Silicone wires ebay.to/2q4oHyY
-------------------------------
Do you want to support my channel? Below links cost you nothing to use:
Complete list of recommended stuff: diytechandrepairs.nu/complete-...
Ebay: goo.gl/PwRR68
Amazon: goo.gl/VSU4YH
Amazon store www.amazon.com/shop/influence...
Banggood goo.gl/fcCjJ5
Gearbest: goo.gl/tay4J6
Patreon and Paypal:
/ diytech
paypal@romer.se / www.paypal.me/diytechandrepairs
Become a Patreon?
/ bqxpyp
Manage your youtube videos like I do? Use below
www.tubebuddy.com/DiyTechandr...
---------------------------------------
Links to my site and current solar layout:
diytechandrepairs.nu/current-s...
/ diytechandrepairs
www.diypowerwalls.com/t-Espery...
Steemit if you want to read more!
steemit.com/@diytechandrepair
DIY powerwall forum: goo.gl/Hfr529
--------------------------------------------------------------

Хобби

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 95   
@electronic7979
@electronic7979 5 лет назад
Excellent project 👍
@conradfuller6697
@conradfuller6697 5 лет назад
Thank you Daniel, very interesting.
@MauroSedrani
@MauroSedrani 5 лет назад
Great job!
@batterydiy7297
@batterydiy7297 5 лет назад
Excellent, like always thanks a lot. Really useful, I was thinking to buy the emonPi but the number of sensors are limited by two and even with the EmonTx is limited to 6 and thats all ... Grafana will present data really well at the end
@MIKE-il6mu
@MIKE-il6mu 4 года назад
Thank for your time and effort. I have a few questions. On your video you tested the sdm with one phase only. Did you go on to test the single phase with a higher current draw and did all the parameters have readings? Also where I am is 110/220 50 Hz. Split phase. If I connect just two phases and neutral would the meter work ok. Lastly can the sdm 630 work with ct. Thanks again
@DIYTechRepairs
@DIYTechRepairs 4 года назад
The sdm dont dont do Ct. No it need neutral and yes it works. In My videos you can see that i use 4 of Them. Thanks
@frankz1125
@frankz1125 5 лет назад
Hey D hows the solar system doing? Can you give us an update?
@jordibarenys3981
@jordibarenys3981 5 лет назад
Thanks a lot.
@locle5227
@locle5227 3 года назад
Hi, I have a power meter but it does not mentioned the protocol on the manual user, only RS485 port. How can I read data from device ? Could suggest me the idea
@throttlenerd
@throttlenerd 5 лет назад
Brilliant!!
@bowlingc69
@bowlingc69 5 лет назад
Excellent videos... learning a lot of staff from you.The InfluxDB, is that a IOT Platform or a Dashboard? Is where you can see the monitoring of the meters or you visualise them in another platform?Thanks
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Thanks, InfluxDB is a database that store Time series data. I use that to store data for visualization. To visualize the data I use merely Grafana or other tools from the Tickstack.
@bowlingc69
@bowlingc69 5 лет назад
So Grafana does not store data, is just visualisation for dashboards?On my system I will be using the ESP8266 with MQTT that will trigger an SSR for the heater. I would like now to visualise my system over the cloud but at the same moment also keep historical data. Thought to link the Thingboard to the ESP82 ? Is that a good set up?Thanks
@oldtimeengineer26
@oldtimeengineer26 5 лет назад
Thanks
@SalvatoreDePascali
@SalvatoreDePascali 2 года назад
Hi I learning a lot of staff from you. I try the code that you mention on Arduino and for me is not working any advice? thank you
@chia_se_moi_thu
@chia_se_moi_thu 3 года назад
Yes, I mean a power meter, my inverter doesn't have a power measuring LCD screen and calibration buttons like some other inverters, but it has a WiFi adapter that plugs into the RS485 port, however the This parameter updates every 5 minutes, so I see you doing this or I plan to replace what is
@DIYTechRepairs
@DIYTechRepairs 3 года назад
Ok. The sdm type meters can be polled very very often. It updates many Times per second.
@josephtanner248
@josephtanner248 3 года назад
Very interesting! I would like to read also my powermeter from my solarcells. Could I get the sketch you used for Serial Modbus RTU to get data out of the SDM meters? I bought the TTL to RS485 converter because I had problems with the USB converter.
@DIYTechRepairs
@DIYTechRepairs 3 года назад
You can find it on Github via the links. Or if you only have 1 meter its easier to run tasmota!
@josephtanner248
@josephtanner248 3 года назад
@@DIYTechRepairs Thank you, I found the link to daromer2/SmartHome. There are alot of lib's. I want to read out 4 modbus RTU powermeter by rs485. Finally the data will be sent by mqtt. My first goal would be to be able to read the modbusPowermeter. Would ESP8266CO2PM25.ino would be the one?
@DIYTechRepairs
@DIYTechRepairs 3 года назад
@@josephtanner248 THe code i used use alot of old libraries so its a big mess to get going. I tried recompile it with newer but never got it working im afraid
@sajjad3
@sajjad3 5 лет назад
very useful
@adriansierramartinez7516
@adriansierramartinez7516 2 года назад
Genius!!!
@movax20h
@movax20h 5 лет назад
Just a question. Why modbus? Why not Ethernet? Would it a lot of cost to have Ethernet on ESP32 for example? Or is it more about worry of having extra bulkier cables and switches, where modbus can be done with a lot less cables and no switches, and just some bigbanging? Edit: Never mind, sdm230 already supports modbus / rs485, so it was obvious choice.
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
The sdm dont do ethernet. They do modbus. And wifi i have everywhere
@myozone
@myozone 5 лет назад
Here in the UK we're not allowed to do anything in the fuse box (consumer unit) unless you are qualified - that's the official line ... ;-)
@ursodermatt8809
@ursodermatt8809 5 лет назад
same in australia
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Its same here. Unless you have approval you are not allowed to do any changes without someone approving it! So as always stay legal :)
@DIYTechRepairs
@DIYTechRepairs 4 года назад
@Mircea your not approved to open the box here and add anything . Yes Clamp on outside is ok but sdm is not a Clamp.....
@keithcovington5420
@keithcovington5420 5 лет назад
I want to know where to buy the switches you talk about in your video on ATS???
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
On Ebay? :) Which One of em?
@jamest.5001
@jamest.5001 5 лет назад
I need to find a cheap easy way to monitor remotely the electron harvesting. from my 2 charge controllers . and batt voltage , current, and basically what's going on. Batt temp would be nice. The actual cell temp. Since I'm using lithium ion. I have them arranged in 100 cell packs. I'd like to have a couple temp sensors in each pack. In case of a bad cell or just hot or cold weather. It does get 100 degees F here and below zero! I'd like keeping up with them. They aren't cheap. Have a idea of how I could do this easily??
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Batrium is One way. Or build with Arduino or esp
@guidodevrieze4301
@guidodevrieze4301 2 года назад
Hi! Very interesting video! But the TTL => RS485 converter you use is not isolated. Are the modbus terminals of the SDM630 galvanically separated from the mains? Is that safe enough to trust? I can't find any safety data in this on the internet. So if anything goes wrong......will everything be connected to the mains which is hooked up to your ESP32?
@DIYTechRepairs
@DIYTechRepairs 2 года назад
I got 4*630 connected on same modbus so i would Guess they are isolated.
@guidodevrieze4301
@guidodevrieze4301 2 года назад
@@DIYTechRepairs sounds reasonable!
@chia_se_moi_thu
@chia_se_moi_thu 3 года назад
Oh, thank you for the reply, unfortunately, I want to get the inverter's data out for monitoring whenever needed.
@DIYTechRepairs
@DIYTechRepairs 3 года назад
This is not about inverter data but electricity meters ;)
@talle2029
@talle2029 5 лет назад
Hello DIY I've been watching you for years love your knowledge! Quick question I got a hold of your valence 12v batteries 4 of them! I only charge them to 13.2 volts they don't seem to like anything higher? I took 1 apart like you did in your video and each individual cell reads lishen valence 3.2v is this the maximum charge each cell can handle if so I would only be able to charge to 12.8 volts max because these batteries are in 4s right? They look identical to the black valence batteries you have. Please help me out with some advice I don't want to ruin the batteries, I just want to know is it ok to charge each cell past 3.2v if so what do you recommend? They are old batteries but they work fine so far! They say 14.6 volts max on top of the actual battery does this mean I can charge them to 14.6 that would be nice but I'm afraid to go past 13.2 I don't want to blow them up please help
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
3.3v is nominal. Max Charge is 3.6 or 3.65v. i Charge max to 3.5
@nilobualoy117
@nilobualoy117 5 лет назад
Any MPP you can recomend for lithium ion battery with wifi monitoring?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Dont know of any thta do that nativly
@CesarDanielLopez
@CesarDanielLopez 5 лет назад
Successfully sdm230, thanks Daniel
4 года назад
Did you use a 120 Ohm Resistor for terminating the modbus?
@LordGeva
@LordGeva 4 года назад
Is it needed when using only one SDM230?
@CesarDanielLopez
@CesarDanielLopez 4 года назад
@ yes
@chia_se_moi_thu
@chia_se_moi_thu 3 года назад
I like your theme, wish you could help me make an interface like this !!!
@NasVistas
@NasVistas 3 года назад
Can i use the with M-Bus? or do i need to convert from M-BUS to Mod-Bus first?
@DIYTechRepairs
@DIYTechRepairs 3 года назад
Not sure. M bus and modbus are different things as im aware but never worked with M-Bus myself. I was under impression Mbus is for meters in generall meanwhile Modbus is more like industrial PLC and meters like the SDM series
@gibsonmb1
@gibsonmb1 4 года назад
Hi, your website does not appear to be responding. I wanted to go there to get more details on the code for this project. I’m new to this, have the SDM installed in an ev charger system and wanted to record charging data to monitor the costs of charging over time.
@DIYTechRepairs
@DIYTechRepairs 4 года назад
Up again!
@vladimirdvorak9262
@vladimirdvorak9262 4 года назад
Hi, you're my inspiration. But I am not able to flash my esp8266 nodemcu. Arduino IDE returns many bugs. Missing files etc. Could you be so kind and share some instructions on how to do it? Thanks.
@DIYTechRepairs
@DIYTechRepairs 4 года назад
That version is difficullt to get to work. I need to redo the code 100% im afraid
@vladimirdvorak9262
@vladimirdvorak9262 4 года назад
@@DIYTechRepairs Thanks, Daniel. I will looking forward.
@ssl2928
@ssl2928 5 лет назад
Nice work! What's the refresh rate of the data you get from SDM?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
I poll every 2 seconds.
@ssl2928
@ssl2928 5 лет назад
@@DIYTechRepairs what's the highest possible sampling rate? every half second?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
@@ssl2928 dont know but the answer is in the manual. Its high... Many many Times per second
@chia_se_moi_thu
@chia_se_moi_thu 3 года назад
Hi, I compiled a lot of errors with the arduino IDE, although I have inserted all the necessary libraries, can you help me compile it to a .bin file?
@DIYTechRepairs
@DIYTechRepairs 3 года назад
They have changed alot of libs and therefore the code i have up doesnt work very well any more. I had same issues first time i compiled it. Some day... when i have time... i will revisit it and sort it but dont have that time today im afraid
@tonykuiper9127
@tonykuiper9127 5 лет назад
How do you get the code from the github link onto the esp8266?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Arduino ide
@derwiemers228
@derwiemers228 4 года назад
I've tried to flash your eastron sourcecode on my esp8266 nodemcu but theres just shown last seen date, mac adress and so on. How can i import the registers in my iobroker ? My rs485 modul is not blinking on tx or rx. Do i have to modyfi some files to show the registers ? Ive try that for 3 days, but i can't find some solutions :( I have 2 sdm360 meters One of that have the adress 001 and the other have 002. 120ohm resistor is on the last SDM.
@DIYTechRepairs
@DIYTechRepairs 4 года назад
You need to have a working connection. Do you have that? Have you configured wifi?
@derwiemers228
@derwiemers228 4 года назад
@@DIYTechRepairs yes wifi is configured and connected, both leds on D5 and D6 are on. The blue led on the nodemcu is blinking.
@myozone
@myozone 5 лет назад
Your example node-red flow won't import
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Had to link it in instead. It didnt work to have it on the webpage....
@myozone
@myozone 5 лет назад
Thanks Daniel
@CrAzYDr1veR
@CrAzYDr1veR 5 лет назад
those modbus are really expensive can you do the same with sonoff?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Yes but not realy for mains nor that accurate. I have videos about sonoff too
@CrAzYDr1veR
@CrAzYDr1veR 5 лет назад
have you ever tested cheap chinese ones from ebay for? AC Power Meter Energy Meter RS485 Modbus 220V
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
@@CrAzYDr1veR One phase cost fraction of 3phase. Check sdm120
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
CrAzYDr1veR Btw do you got a link for one you have in mind?
@whatevah666
@whatevah666 5 лет назад
HEya, is modbus the same as IEC 62053-1 (S0) ? I'de like to connect this solution to a ABB OD4165 to measure but i'm not sure if it will work with it. symmetron.gr/uploads/ABB_ODIN4165_ODIN4110.pdf
@gasd6542
@gasd6542 5 лет назад
Did you sell the locost?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Its Still in My garage
@arhitektche
@arhitektche 4 года назад
Is this going to work with esp32?
@DIYTechRepairs
@DIYTechRepairs 4 года назад
If you rebuiöd the software yes
@kigan80
@kigan80 5 лет назад
Awg for the silicon wires?
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
Which ones? Choose wires accordingly to max current.
@kigan80
@kigan80 5 лет назад
@@DIYTechRepairs for power 5v to ESP8266
@DIYTechRepairs
@DIYTechRepairs 5 лет назад
@@kigan80 perhaps 0.25mm2
@emilkrivan1240
@emilkrivan1240 4 года назад
Please help, link does not work. i need to connect esp 8266+ sdm630 + domoticz
@DIYTechRepairs
@DIYTechRepairs 4 года назад
Webserver is dead due to drive issues. Working on it and will be up later today.
@DIYTechRepairs
@DIYTechRepairs 4 года назад
Its fixed
@emilkrivan1240
@emilkrivan1240 4 года назад
Ok dekuji.
@bjarkegth9774
@bjarkegth9774 5 лет назад
Daniel, du styrer for vildt
@edcarlosmeirelesdeoliveira4941
@edcarlosmeirelesdeoliveira4941 3 года назад
Sketch Sorry, thank you
@barajend
@barajend 4 года назад
How to get code for esp8266
@DIYTechRepairs
@DIYTechRepairs 4 года назад
Check description
@edcarlosmeirelesdeoliveira4941
sorry sketch, thanks
@emilkrivan1240
@emilkrivan1240 4 года назад
Please do not install the installation instructions on the esp 8266. Thank you very much
Год назад
How to get code for esp8266
@DIYTechRepairs
@DIYTechRepairs Год назад
Use esp home instead. It's easier
Год назад
@@DIYTechRepairs for my own app actually, not to work with any other app
Далее
BitBastelei #448 - RS485 Fehlersuche & Reparatur
22:38
DIY Home Energy Monitor & CT sensors explained
6:54
Просмотров 142 тыс.
Log data from modbus meter to Raspbery pi (SDM630)
11:17
5 CLEVER Electrical Tricks Everyone Should Know
11:06
Вот так 🤣
0:35
Просмотров 1,7 млн