*** I misspoke about the RX/TX flipped due to habit - RXD to RXD and TXD to TXD is the method this board uses as they have the labels flipped already. Look at my wiring and you can see I have it right but said it wrong.
can confirm... if the manufacturer would put an "advanced" option to put in MQTT credentials and let me get the data out easily, i would buy one today no questions asked. I really appreciate all the details in this video and helping to educate users and push back on manufacturers. In the end, I don't want my devices local because I'm afraid the cloud may go down... i'm sure for many folks the cloud is more reliable than their home setup... the reason for me is that I want to own my devices and my settings and my entire situation. I don't want some vendor deciding what they will do with my hardware or my data. I don't want them deciding they will no longer support the version of android I'm using so I'm just out-of-luck. I want to control my devices, my data and my home. Thanks again man... you're doing a great job!
Couldn't agree more. Manufacturers are contributing to e-waste by trying to lock people into their ecosystem. ...If you have a good product, people will buy your hardware. And allowing it to be cross-compatible ensures minimizing cost & waste.
Always appreciate your great tutorials. I'm 70 years of age and I'm still learning and totally enjoy flashing my devices with Tasmota and playing around with simple python scripts. BTW I did my first coding in 1978 using TRS-BASIC when I purchased my first computer at Radio Shack. It's was a TRS-80 with 4kb Ram. That's right KB not MB. I would write code in Basic for uncounted hours and then save it ever so slowly on an external cassette drive. No floppy drives yet and I couldn't afford one at this time in life with a wife and young kids. In 1978 I was also using very inexpensive X10 Home Automation devices to turn my lights on at scheduled times as early as 1978. That was very cutting edge at the time. Now 50 years later using Home Assistant with my whole home connected and still learning. I recently purchased several Sonoff S31 smart switches with energy monitoring as they were on sale at $10ea planning to get those flashed with Tasmota and monitor the areas that need it adding to the mix of other devices. Anyway thanks again for your great tutorials.👍😊
I watched this video about a year ago, but never got an Emporia Vue. But now I do, and I'm glad I rediscovered this truly helpful tutorial. Thank you for this, and for everything you do for the Home Assistant/DIY community!
Thank you for this video! I've been on Home assistant since 2015 and have always wanted this level of energy monitoring. I thought it was going to be expensive and difficult. I watched this video on monday, ordered the emporia on tuesday, it arrived on thursday, and within 2 hrs I had it flashed, installed, and posting to Home Assistant. Youre the man. Thanks for putting the time in to make these videos.
i bought this with a EV charger. I was able to get on board before the video came out. I feel like i am finally becoming part of the community. Cant wait to set it up. Now i want an open source firmware for the EV Charger.
I bought a second unit to flash and swap so hopefully they're happy getting more money. Can't wait to get almost instant updates vs the 1 minute updates that the cloud HA integration is able to pull.
I finally got around to flashing my Vue2, and I figured out why the header holes are wiggly. Once I cleared the solder out of the holes, I took my header, and tried to push it in as a single piece, without cutting it into individual pins. It fit! The holes are offset just enough to grip on alternating sides of every other pin: I bet during development, they use a pin header cable that way, without having to solder on a connector - so they can grab any board from a dev run and connect to it. I went ahead and soldered anyway, since I already had a header cut for it. :)
Just wanted to say thank you for always keeping me up on the latest stuff. I've been waiting for local control of Emporia and only stumbled across it because of you. Thanks!!
Just finally came across the local / esphome stuff, and gotta say I 100% agree with your comments at the 1 minute mark to Emporia... After hemming and hawing for months about it, learning I could do this I went and bought 2 of them right off the Empria web store :) Good stuff!
I've had mine installed for a year and it works great,I'm very happy with it.I also bought 4 of their smart plugs to check random devices and they work fine as well.
Make sure you update your config, there is a bug in the old config file that can cause the flash memory to degrade and eventually fail. See the new config file for reference.
I agree 100%, I would not have ever taken a moment to look at this product. If it wasn’t for the geeky, smart home community and all of the cool ways they are using it. So please do not try to block this kind of activity and yes, it would be awesome if you just made it simpler by adding an MQTT option.
Thanks flashing worked like a charm Tips for those that come later To remove the old solder my technique was Flux , small bit of new solder , more flux , then draw out with solder braid. Leaves nice clean holes. Re the voltage set the flasher to 3.3 V if you get the wrong pin it just won't work rather than release magic smoke.
Love the advise to Emporia, have my doubts that they will listen and can guarantee this is not the first time someone has asked them for a local MQQT offload
Managed to suck the solder out of the holes using a solder sucker pushed against the other side of the board while I had the soldering iron through the hole, cleaner it up very nicely and was able to add a strip very easily and is nice and OCD straight :-)
They just went to dark mode with a list of cookies that are mandatory. I have 10TB of storage to put all the data that is going to the cloud now. I hate the cloud. For anything. I have watched several of your videos and enjoyed them all. Now a subscriber
On my Emporia Vue 2 to my USB TTL the wiring was TXD to TXD, RXD to RXD, which didn't make sense, but it worked. My Emporia is about a year old, so it may be different per model.
I can confirm the cloud does suck. Emporia is rate limiting and the home assistant cloud integration does too many API calls which breaks things. Thank you for this guide, running locally now.
I had a really difficult time pushing the header through the holes with the existing solder on them. Instead, I used a pin-vise to clear the holes, then an unbroken header slid right in and I soldered the backside like normal.
Yeah, every CT has a band where it's most efficient/accurate; just like speakers. The pigtail end of the CT will likely be outputting close to the noise level in the circuit at those loads. Multiple wraps gets things further above the sensing threshold.
I first saw the wiggly header in a parts library, I think from 'Spark Fun', but it might have been somewhere else. The _intent_ is that the through holes in the PCB are offset just enough to grip on to the pin header enough that you can flip the board over to solder it without the header falling out. If the 'wiggle' is too much for the hole size, then I bet it distorts the header when you are soldering it. -Jon
Great tutorial, thank you! I had to update ESPHome in HA manually to the latest version for the template yaml to compile. I also had to lower the baud rate to 56700 for the backup, as higher speeds gave me read errors. Probably not the best TTL adapter, though I never had any issues so far.
Nice! Nothing wrong with pulling it slower. Sometimes if I know I want to go back for sure I pull two copies and do a md5 of both. Glad to hear you freed it from the cloud!
I used a PCB Drill Bits Set, Micro Drill Bits Set from amazon and drill out the holes in a straight line and snug to the pins and worked great. Only item was having to do command line ESPhome since I'm using a Blue
FYI for everyone: I have 60 amp breakers and asked Emporia how I measure them. Emporia informed me the CT50 is rated for up to 75 amp circuit breakers. Why they never make this clear, I don't know. Thought I would share.
When you were testing this (around 32:31), where this you have the phase A ct and the circuit ct clamped? I'm trying to test mine before I install in my panel, and I get values that jump all over the place, even with no cts installed. I wired the black and white wires into a 5-15 plug to get mains power.
hey @digiblur , just did the emporia to esphome deal following your video was pretty easy thanks to it. only thing that hung me up for a minute was the phases of the breakers and getting them right in the yaml and making sure they matched up with the power wires from the unit. other than that pretty easy deal. thanks for the video.
I noticed they did update things to have the phases. I stuck mine with the letters on the bottom pointing the way of the load then if they didn't register a load I just changed the phase it was assigned to in the code. Worked out. Nice to see they added that!
the heart of the monitoring are those extra chips on the unit. they do all the heavy lifting with math and monitoring. the ESP is just the connection to the outside world.
I've finally got all the parts and pieces to do this to my Emporia Gen 3. I'll hold off until you upload a video on that. I've read through some of the GitHub conversation around this but it feels like there has YET to be a guide written on the new Gen 3. Hopefully the ethernet port will be supported and I'll be interested to see if you use the new ESP Web tools for flashing. Do you know when you might be completing the new video? Are there issues or roadblocks you are dealing with concerning the Gen 3? Another question, do you need ESP Home running on something else prior to being able to configure the Emporia? I don't understand the interface you have open PRIOR to going to Home Assistant towards the end of the video (after flashing).
I've done a short guide on it. digiblur.com/2024/03/14/emporia-vue-gen3-esp32-esphome-home-assistant I use both the ESP Webtools and ESPtool.py for flashing things. Not sure when I will finish with it but working on things with it, things changing quickly on it ;)
Note that when you see that output wattage flipping around like that, it does not indicate inaccuracy. In fact for those who have worked with low level electronics e.g. designing analogue circuits, A to Ds, etc., we prefer to have raw data - if ever I see a sensor with a clean output then I usually worry that someone has smoothed it using some (probably poorly designed) algorithm which I have no knowledge of.
@@digiblurDIY That they don't include the option, without me having to learn how to do this from you, is just plain wrong... I would never recommend the Emporia Vue to anyone I know.
Great video tutorial, like always. I flashed and it's working like a charm. Thank you. But I have a question about sensors(CT's), where I have to change the name of the sensor? and how I can calculate the one's which is connected to 2 pole breakers? I have CT-1 connected to Range on breaker #1,3 (A, B phase ) on A( 1) side, also I have few CT connected to stand by generator panel, which is connected to 2pole 40 AMP breaker in main panel. Thank you
You can rename the sensor in HA itself. They should have examples for the two pole devices where you can double it up. Looks like this in the example: - { phase_id: phase_a, input: "5", power: { id: cir5, filters: [ *pos, multiply: 2 ] } }
@@digiblurDIY Thank you for your quick replay. I did like you said and looks like it's working correctly. Only one weird thing, after power outage 30 minutes ago, it's showing UNAVAILABLE in HA, but log is OK and it's showing ONLINE in ESPHOME, also I add webserver, just to see what is going on and it's show all information on the webport.
@digiblurDIY IDK but, when I removed API and added MQTT it's showing up in my HA normally. Again time to time it's showing unavailable. Doing my investigation about this. Will keep you posted. Please create a tutorial how to add MQTT to Esphome step by step,I think it will be interesting for some folks.Thank you again for all what you do for HA community
13:32 There ARE actually calibrations on the Emporia, but they only apply to the Watts and not the Amps. MAJOR BUG. (And it doesn't say anywhere in the app that it acts like this. It just creates a huge headache.)
BTW, I don’t think Emporia will come out with a firmware update allowing MQTT. They’ve already come out on their customer support forum saying they’re not interested in selling the hardware. They’re interested in power consumption data - cloud. Having said that, it’s using MQTT already. If you don’t want to take it apart and reflash it, create a wifi network called “emporia” then take a stock firmware or factor reset unit, power it on and see what happens. :)
All good and that was a totally different video anyways. I appreciate it and it is always fun to poke at the companies a bit. Sometimes I get lucky and they listen.
I think they've put the offset in the pinheader for flashing the device. So you can put a pinheader in the holes without soldering, but have a better connection than if the row was straight.
It is right in the config if you need to change the calibration, it is labelled. There's also examples of doing multiply by 2 if you are monitoring only one leg of a split-phase 240v load. github.com/emporia-vue-local/esphome#writing-configuration
Have you ever run into an issue where 1 sensor takes a long time to update values? All of my sensors are doing great, but this one circuit monitoring a standalone AC takes several minutes to post updates in HA. I don't have any different filters on this sensor from the others. So it does update, but takes around 5mins. All other sensors updates within 1 second.
@@digiblurDIY Thanks man! I'll keep digging around and will try the web browser tonight. I followed your video about 2yrs ago and finally bought my first home recently. Got this thing installed (and updated) last weekend. Its been a fun journey!
Would a 7-pin pogo connected properly to a cp2102 usb ttl work here for a solderless flash? I’ve not soldered in 45 years and interested in options. Unsure how to best deal with the flux if this is an option? Thank you
@@digiblurDIY It have been working good in the app where I have the option to enter in my local electric company along with cost per KW. it only let me enter in electric price but there no way to enter in taxes so the electric cost part does not work well. I also have random notice of offline in the app. and get ready for lots on notifications. Like you said they are all in your business with that app
I just purchased a Emporia Vue2 this past week and attempted to follow this guide. The board shows revision 5. I can't get the get the"esptool.py flash_id" command to connect. I checked the USB to TTL drivers. I rechecked my solder joints. They may have made a change to stop folks from flashing in rev. 5.
@@digiblurDIY I think this unit may be defective. I am going to send back to Amazon and get another. I will update you once the new until comes in. Thanks for you help.
@@fatalpush995 Just curious if you ever figured this out. I just got a revision 5 and I'm also hitting this wall. I'm wondering if it's my particular TTL so I have another coming tomorrow.
Sorry for the dumb question… how did you solder the pins on? Seems every time I move the iron away and shove the pin through it cools too fast 😂. I haven’t soldered since I was at school! Any suggestions would be much appreciated.
I’ve been running two of these for about three weeks now and it works great. There’s a short thread in the ESPHome topic on the HA community page. MQTT support is coming soon. Re values jumping around for ports without clamps plugged into them, comment those circuits out in the yaml, recompile and upload. Makes sure you get both spots - each circuit is listed twice in the yaml, once for the wattage sensor then again a little lower for the power consumption sensor definition.
Given mains voltage tends to vary pretty well constantly, this is not as noisy as it may seem given the sample rate and they are not really doing averaging. Guessing Emporia figure it looks more accurate like this? Or maybe they just didn't want to put the extra effort into the programming to add any kind of averaging and still keep it ball park accurate
Guessing the later given even the kill-o-watt folks figured out how to balance it. Not a bad box for the residential use case though given the price so I'll give them props for that.
@@digiblurDIY I was just reading the specs and it states in the specs the Gen 2 Vue has ZigBee Smart Energy Profile 1.1b. Did you find any use for that in your testing or did you do it all WiFi?
Just wondering: were the values fluctuating because no CT clamp installed and the burden resistor isn't there? Do the CT clamps supplied have burden resistors integrated or are they on the Emporia board?
I have split 150a so 300a total service in two boxes. Would I need two separate boxes that have no knowledge of each other or is there a way to hook up both panels in a connected way?
If it is two separate services from the utility then yeah you'll need two unless you have some way of using the clamps on both if they are close enough?
Lol i am the same way. I like one code base and not having to have multiple points of these being able to enter the network. Now that there is a firmware out there that works, the major hard parts are done. I am sure they will have one soon(year or two) if some one wants to go through the files and make a version in tasmota.
Man, I can't wait to do this I have the stock firmware and sometimes some if the sensors goes offline. a reload of plugin fixes just but it's annoying.
Is it possible to use 50A transformer on mains? No way I'm gonna fit those bulky 200A clamps on mine. 50A should be enough for european 3x32A 380v service? I wonder if its usable in europe at all? If anything below 100W @120v is too noisy to measure then in europe anything below 200w@240v is too noisy? I wonder if they make smaller clamps, eg. 16A instead of 50A? Also can you choose which phase is individual clamp on? Different mains phases might vary in voltage quite a bit.
@@digiblurDIY turned out 200A clamps have bigger jacks. Also 200A are absolutely humongous, no way i'm gonna fit and bend my solid core aluminium mains to fit them.
Hey Travis, what exactly is meant by "the HA Blue will not build this via ESPHome. You would need to use a docker install on a supported processor to build the yaml file." that you mentioned in the more information section? I have the Emporia Vue 2 and I'm interested in doing this flashing ESPHome onto the Emporia device. But I have a HA Blue and I don't have a docker install of HA on a supported machine. And I'm not interested in learning Docker just to install HA to build some YAML file. At that point this does not seem to be worth it just to get it integrate with HA energy dashboard. How can I work around this?
I don't have an HA Blue myself so I haven't been able to test this. It was something a member reported. I will see if I can find anything on the Esphome side regarding this. Have you tried to compile it with the latest version?
@@digiblurDIY I have HA Blue and I get this error: "Tool Manager: Installing platformio/toolchain-esp32ulp @ ~1.22851.0 Error: Could not find the package with 'platformio/toolchain-esp32ulp @ ~1.22851.0' requirements for your system 'linux_aarch64' "
I have been using this one even for the hungry esp32 linkind light switches. geni.us/XUNpdG4 But I do think my new favorite is the Voltlink one in my latest unboxing video.
I have a first gen power monitor. Would it essentially be the the same setup with tweaks to the config for less inputs? Has anyone experimented with the first gen model?
@@digiblurDIY I just checked and it uses the ESP32. However it has a breakout board for all the indivdual circuit sensors. I'll hop on discord and share some pictures.
QUESTION: Does anyone make a product similar to this, that would allow individual monitoring of each individual “DC” solar panel in an array so that we can log production per panel, possibly even with remote access???
I've seen that done with the inverters that had data connections before, not sure if there is an aftermarket deal though. No experience with that side of things.
Gen 2 is the one with the 3 ports on top and 16 small ports on the sides. Gen 1 isn't really sold anymore and just had the 3 main ports on top with a expansion module for 8 of the circuits.
I had this issue with someone on Discord the other day. Their USB flasher didn't provide enough power. Try a different USB port is one thing to try, use a bench power supply is one method or swapping to one like this. amzn.to/3tIybRd
@@digiblurDIY no joy tried that also. Only different is if I do not have IOO port jumped to case of esp I get beeping sounds. This is why I think I have got it in boot mode.
NEWB Here.... Just a gentle reminder that could be added to the video. If this is your first time using the CP2102-USB to TTL, make sure you install the drivers and don't use the ones that windows finds!!! I just spent 2 hours troubleshooting my connections, looking at traces on the board, beating up my computer... Just download the appropriate drivers!
It is a very super tutorial video for the Emporia flash with ESPHome. But I have a trouble and I don't find any guideline for this. So I used this code, I flashed the Emporia and it worked. It is actually behind tha wall. I replaced my wifi network.. But with this code we don't have a captive portal or any webinterface where we can change Wifi network. So how can I manage this without a new flash? I don't wanna open my wall. It is possible but it a whole day work... I hope someone know how can this situation handle without dimantling. Thank you guys.
I don't think web interface is supported yet on this build of esphome. Use the Esphome code and change the things you need and hit update to send over the new bin.
@@digiblurDIY but how I connect my server/ESPhome with the device without a same wifi connection? I can't connect my unraid server direcly to Emoria fallback AP bacuse is on LAN and don't work with wifi stick.
Oh without the captive portal or putting multiple wifi networks in the code before the change you will need to manually flash it again. It might be easier to make the same wifi network again add both wifi networks and switch it back.
Quick note. it says on the instructions "Connect RX to RX, TX to TX, " now, my Vue is finally online but when trying to configure it on the integration it asks for a password.
I just purchased a Emporia Vue and have found out that it is cloud based only and I was ready to send it back to Amazon but I found your video. I was looking at the other options like the Shelly and the CircuitSetup boards but it looks like for the shear amount of CT clamps the Emporia is pretty cheap. I have never used Home Assistant or ESPhome so this is all new to me, I watched a couple of your other videos about getting home assistant setup. Am I right in saying I am going to need some sort of machine to run Home Assistant (looking at a Dell Optiplex 3050 micro, 4GB of RAM, 500GB SSD used on eBay) A CP2102 USB TO TTL module, some male PCB headers and some breadboard jumper cable? I have all the soldering equipment already, but do I need any other hardware? I presume home assistant will log all my power consumption just like the Emporia cloud does? So I can look back over my power consumption by second, minute, hour, day, week or month? Thanks for the great videos as no way I would have found out about all this myself!
Jumping in deep and quick! I like it!! Yes, I highly recommend a dedicated machine to run Home Assistant. You can for testing run it in a VM on Windows but I wouldn't keep it there for long because it isn't stable and that's not fun. I've done a video on setup with this very machine style but whatever you can find on refurbs is usually great. Pretty much all you need, some have done few different methods to attach to those holes so use whatever your skillset allows. It is just a one time thing. Also if you feel you've got in a little over your head and have some questions you can hit myself and others up in my discord chat at discord.digiblur.com
I see they are sold on their website. shop.emporiaenergy.com/collections/emporia-products/products/gen-2-emporia-vue-with-16-sensors-and-pair-of-flexible-current-sensors
Tried it all and it looks like it does flash and everything, but i dont get any response from the emporia besides the powe rlight. Do i need more than 3.3v to test it or what is going on? Can someone give me a hint?
@@digiblurDIY you mean i can flash this thing with just rx tx and main power applied? Or did u mean power with mains to see if something got flashed? Powersupply is just the usb flasher right now
Yes. If you saw the flash go through fine then disconnect and see if the mains power will work. Some usb flashers/ports won't power esp32 devices enough for them to join the Wi-Fi.
@@digiblurDIY for some reason this morning i did connect it all and tried reflash and it went through, saw all the gizmos blinking and had ip and was able to add it to esphome, disconnected it all and put back into original case and mounted back in bracker box and...nothing again besides power light. Does that make any sense for you? Is it possible that it just ran from the usb flasher and not from its rom?
No that doesn't make any sense. I have seen it the other way a good bit where it flashes but won't boot from a usb flasher since the device pulls too much power and needs mains to join the wifi.
It does not. You would need to calculate that. The CircuitSetup one does and might be a better option that has this natively calculated by the power monitoring chip itself.
The 1 sec look back data is very bad, only shows accurate detail while using app but 1sec look back is useless, anyone else experiencing? Ever since an app downgrade about 1 year ago...
i have been trying to look for a power monitor for my trailer aka house that is inly Bluetooth but that's getting hard because company's figured out that they can collect data and sell it . we already have the government up are ass we dont need other pep to just trying to make money
This system is good but has a major flaw if you've got grid and solar power. It double counts the grid power. Emporia told me they can't fix this, even though it's one subtraction calculation they'd have to do. So it was useless to me, and would be to anyone with grid and solar power.
That probably would need some sort device of isolation to pass code mixing low voltage and mains voltage which would raise the cost too much. The esp32 chip does support ethernet.
@@digiblurDIY I’m not sure it would be possible here due to the pins being used on the esp32. There’s a second “processor” on the PCB that’s helping the esp32. I’ll have to dig up my notes from earlier on in the reverse engineering game before these guys came out with the esphome library which has been awesome!
Well, it looks like the whole device and company just sucks. First of all they are only interested in forcing you to use their cloud. The cloud services ARE NOT RELIABLE. Next thing is: the Customer doesn't know what are they using the Customer data for. And these data are SENSITIVE data! Very sensitive. They can easily be used agains the Customer. Now the device itself: i can't see the device is sensing the voltages on both or all three phases (for 3-phase versions)! If you check the voltage on 3-phase system (for example in Europe) the L1-N, L2-N and L3-N voltages can vary A LOT. What does it mean? If you have current measurement on all 3 phases but voltage sensing on one phase only the whole power consumption accuracy just sucks. I checked mine 3-phase today: L1 voltage is 231 VAC, L2 is 245 VAC and L3 is 251 VAC. If Emporia is just taking voltage out of L1 and assuming L2 and L3 voltage is the same (in ideal conditions they should match but IT IS NOT THE CASE IN REAL LIFE) then calculated power consumption accuracy is so shitty.
It uses the voltage for each phase as reference so you do specify that at least in the Esphome method. I can't speak about stock cloud software as I don't use it.
@@digiblurDIY Thanks for reply!:) "It uses the voltage for each phase as reference ..." what you mean exactly? Is it actually sensing the voltage on each phase or just assuming it is i.e. 230VAC and equal on all phases?
Bullshit. The Emporia is obviously sampling at a much higher rate than is available in the other rig. Doesn't even look like there's a realtime view in that other thing. Re: voltage: The voltage is directly measured on each of the split phases, and it's the same for every breaker on that phase (obviously).What you smokin' bro ? ;)
Unfortunately, I am using a 64-bit Rasp Pi for this. ESPHome is giving me the following error: "Could not find the package with 'platformio/toolchain-esp32ulp @ ~1.22851.0' requirements for your system 'linux_aarch64'" This is known issue documented on on the official GitHub for this project. Does anyone have another way of doing this? I really wanted to get this done via ESPHome since it is so much simpler than other flashing solutions.
@@digiblurDIY I appreciate your response! I did end up with a VM but when I run `esptool.py flash_id` I get the following error: "Serial port /dev/ttyUSB0 /dev/ttyUSB0 failed to connect: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'" I confirmed this is the correct USB port, and checked my connections and soldering. Everything looks fine. The USB to TTL adapter I am using only has the red light on for the ground LED. If I disconnect the power wire, the blue LED lights up for RXD. Tried this on 5v and 3.3v and even tried swapping the rx and tx in case TTL was auto-reversed as well. Any thoughts or lessons learned? Beginning to wonder if I got unlucky with the TTL (I purchased the one in your description).
I assume you are running on a linux box given the port? Hard to really pin down the permissions, make sure nothing else is running that could be using that port.
*** I misspoke about the RX/TX flipped due to habit - RXD to RXD and TXD to TXD is the method this board uses as they have the labels flipped already. Look at my wiring and you can see I have it right but said it wrong.
You should pin this
@@AnthonyDiRuggiero thought I did but I hit pin again on it. Thanks!
Actually it's on the description too. Thanks.
Added it there too. I looked to see if YT would let me put text overlay but they removed that feature.
16 month later and I wonder if you would wanna make an update what has changed and in what direction, massive imporvemnts and tiny ones
can confirm... if the manufacturer would put an "advanced" option to put in MQTT credentials and let me get the data out easily, i would buy one today no questions asked. I really appreciate all the details in this video and helping to educate users and push back on manufacturers. In the end, I don't want my devices local because I'm afraid the cloud may go down... i'm sure for many folks the cloud is more reliable than their home setup... the reason for me is that I want to own my devices and my settings and my entire situation. I don't want some vendor deciding what they will do with my hardware or my data. I don't want them deciding they will no longer support the version of android I'm using so I'm just out-of-luck. I want to control my devices, my data and my home. Thanks again man... you're doing a great job!
How the hell did we stumble on this same video today?
@@dphanks because we're both awesome?
@@FrankGraffagnino Sounds about right.
Couldn't agree more. Manufacturers are contributing to e-waste by trying to lock people into their ecosystem. ...If you have a good product, people will buy your hardware. And allowing it to be cross-compatible ensures minimizing cost & waste.
Always appreciate your great tutorials.
I'm 70 years of age and I'm still learning and totally enjoy flashing my devices with Tasmota and playing around with simple python scripts. BTW I did my first coding in 1978 using TRS-BASIC when I purchased my first computer at Radio Shack. It's was a TRS-80 with 4kb Ram. That's right KB not MB.
I would write code in Basic for uncounted hours and then save it ever so slowly on an external cassette drive. No floppy drives yet and I couldn't afford one at this time in life with a wife and young kids.
In 1978 I was also using very inexpensive X10 Home Automation devices to turn my lights on at scheduled times as early as 1978. That was very cutting edge at the time.
Now 50 years later using Home Assistant with my whole home connected and still learning. I recently purchased several Sonoff S31 smart switches with energy monitoring as they were on sale at $10ea planning to get those flashed with Tasmota and monitor the areas that need it adding to the mix of other devices.
Anyway thanks again for your great tutorials.👍😊
Love you old man 😘
I watched this video about a year ago, but never got an Emporia Vue. But now I do, and I'm glad I rediscovered this truly helpful tutorial. Thank you for this, and for everything you do for the Home Assistant/DIY community!
Many thanks!
Thank you for this video! I've been on Home assistant since 2015 and have always wanted this level of energy monitoring. I thought it was going to be expensive and difficult. I watched this video on monday, ordered the emporia on tuesday, it arrived on thursday, and within 2 hrs I had it flashed, installed, and posting to Home Assistant. Youre the man. Thanks for putting the time in to make these videos.
Awesome! Love to hear the success stories like this. Welcome to the addiction of local control devices!
i bought this with a EV charger. I was able to get on board before the video came out. I feel like i am finally becoming part of the community. Cant wait to set it up. Now i want an open source firmware for the EV Charger.
Nice! I haven't seen inside the EV charger yet. Need the vehicle first. 😎
I bought a second unit to flash and swap so hopefully they're happy getting more money. Can't wait to get almost instant updates vs the 1 minute updates that the cloud HA integration is able to pull.
I finally got around to flashing my Vue2, and I figured out why the header holes are wiggly. Once I cleared the solder out of the holes, I took my header, and tried to push it in as a single piece, without cutting it into individual pins. It fit! The holes are offset just enough to grip on alternating sides of every other pin: I bet during development, they use a pin header cable that way, without having to solder on a connector - so they can grab any board from a dev run and connect to it. I went ahead and soldered anyway, since I already had a header cut for it. :)
You might be right there!
Same. Just enough offset to bind the headers into place. Used a solder sucker to clear the holes and soldered on a header strip. Quick and painless.
Just wanted to say thank you for always keeping me up on the latest stuff. I've been waiting for local control of Emporia and only stumbled across it because of you.
Thanks!!
Awesome! Glad to help everyone take back control of their hardware and data.
Just finally came across the local / esphome stuff, and gotta say I 100% agree with your comments at the 1 minute mark to Emporia... After hemming and hawing for months about it, learning I could do this I went and bought 2 of them right off the Empria web store :) Good stuff!
Local and open source is amazing! Take control of the hardware you paid for.
I've had mine installed for a year and it works great,I'm very happy with it.I also bought 4 of their smart plugs to check random devices and they work fine as well.
Make sure you update your config, there is a bug in the old config file that can cause the flash memory to degrade and eventually fail. See the new config file for reference.
I agree 100%, I would not have ever taken a moment to look at this product. If it wasn’t for the geeky, smart home community and all of the cool ways they are using it. So please do not try to block this kind of activity and yes, it would be awesome if you just made it simpler by adding an MQTT option.
Same! I skipped it a few times myself.
Thanks flashing worked like a charm
Tips for those that come later
To remove the old solder my technique was Flux , small bit of new solder , more flux , then draw out with solder braid. Leaves nice clean holes.
Re the voltage set the flasher to 3.3 V if you get the wrong pin it just won't work rather than release magic smoke.
Love the advise to Emporia, have my doubts that they will listen and can guarantee this is not the first time someone has asked them for a local MQQT offload
Of course they want to sell that data!
Managed to suck the solder out of the holes using a solder sucker pushed against the other side of the board while I had the soldering iron through the hole, cleaner it up very nicely and was able to add a strip very easily and is nice and OCD straight :-)
That did bother me for sure. I am still tempted to buy one of those guns that has the heat and vacuum part that works for this.
They just went to dark mode with a list of cookies that are mandatory. I have 10TB of storage to put all the data that is going to the cloud now. I hate the cloud. For anything. I have watched several of your videos and enjoyed them all. Now a subscriber
Thanks for the awesome feedback! Glad to hear you enjoy them! Still using mine out of the cloud and loving it here!
the web installer worked amazing. I had the command line tool set up but ended up not needing it at all.
On my Emporia Vue 2 to my USB TTL the wiring was TXD to TXD, RXD to RXD, which didn't make sense, but it worked.
My Emporia is about a year old, so it may be different per model.
One of those things you just have to figure out how the engineer labeled them in what reference. Luckily a 50 to 50 thing and doesn't hurt anything.
I can confirm the cloud does suck. Emporia is rate limiting and the home assistant cloud integration does too many API calls which breaks things. Thank you for this guide, running locally now.
Figured that would only be a matter of time before they cut that off completely.
I had a really difficult time pushing the header through the holes with the existing solder on them. Instead, I used a pin-vise to clear the holes, then an unbroken header slid right in and I soldered the backside like normal.
Nice tip!
Yeah, every CT has a band where it's most efficient/accurate; just like speakers. The pigtail end of the CT will likely be outputting close to the noise level in the circuit at those loads. Multiple wraps gets things further above the sensing threshold.
I first saw the wiggly header in a parts library, I think from 'Spark Fun', but it might have been somewhere else.
The _intent_ is that the through holes in the PCB are offset just enough to grip on to the pin header enough that you can flip the board over to solder it without the header falling out. If the 'wiggle' is too much for the hole size, then I bet it distorts the header when you are soldering it.
-Jon
Does make sense with doing through hole stuff.
Great tutorial, thank you! I had to update ESPHome in HA manually to the latest version for the template yaml to compile. I also had to lower the baud rate to 56700 for the backup, as higher speeds gave me read errors. Probably not the best TTL adapter, though I never had any issues so far.
Nice! Nothing wrong with pulling it slower. Sometimes if I know I want to go back for sure I pull two copies and do a md5 of both.
Glad to hear you freed it from the cloud!
I used a PCB Drill Bits Set, Micro Drill Bits Set from amazon and drill out the holes in a straight line and snug to the pins and worked great. Only item was having to do command line ESPhome since I'm using a Blue
I like the dedication!
@@digiblurDIY I don't know about dedication. I know my solder skills as of late. Thanks for the heads up about blue and ESPhome on the emporia.
FYI for everyone: I have 60 amp breakers and asked Emporia how I measure them. Emporia informed me the CT50 is rated for up to 75 amp circuit breakers. Why they never make this clear, I don't know. Thought I would share.
Thanks for sharing!
Oh that's interesting. I've got a 60amp sub panel in the garage that I was hoping to monitor as a whole.
When you were testing this (around 32:31), where this you have the phase A ct and the circuit ct clamped? I'm trying to test mine before I install in my panel, and I get values that jump all over the place, even with no cts installed. I wired the black and white wires into a 5-15 plug to get mains power.
The CTs should be plugged in and closed to prevent the values from jumping around.
hey @digiblur , just did the emporia to esphome deal following your video was pretty easy thanks to it. only thing that hung me up for a minute was the phases of the breakers and getting them right in the yaml and making sure they matched up with the power wires from the unit. other than that pretty easy deal. thanks for the video.
I noticed they did update things to have the phases. I stuck mine with the letters on the bottom pointing the way of the load then if they didn't register a load I just changed the phase it was assigned to in the code. Worked out. Nice to see they added that!
the heart of the monitoring are those extra chips on the unit. they do all the heavy lifting with math and monitoring. the ESP is just the connection to the outside world.
Exactly what I wanted to see,
new sub, thanks!
Awesome, thank you!
I've finally got all the parts and pieces to do this to my Emporia Gen 3. I'll hold off until you upload a video on that. I've read through some of the GitHub conversation around this but it feels like there has YET to be a guide written on the new Gen 3. Hopefully the ethernet port will be supported and I'll be interested to see if you use the new ESP Web tools for flashing. Do you know when you might be completing the new video? Are there issues or roadblocks you are dealing with concerning the Gen 3? Another question, do you need ESP Home running on something else prior to being able to configure the Emporia? I don't understand the interface you have open PRIOR to going to Home Assistant towards the end of the video (after flashing).
I've done a short guide on it. digiblur.com/2024/03/14/emporia-vue-gen3-esp32-esphome-home-assistant
I use both the ESP Webtools and ESPtool.py for flashing things. Not sure when I will finish with it but working on things with it, things changing quickly on it ;)
Note that when you see that output wattage flipping around like that, it does not indicate inaccuracy. In fact for those who have worked with low level electronics e.g. designing analogue circuits, A to Ds, etc., we prefer to have raw data - if ever I see a sensor with a clean output then I usually worry that someone has smoothed it using some (probably poorly designed) algorithm which I have no knowledge of.
Was I mentioning the noise on the unused ones?
I'm going to buy two of these one for HA and one to use Emporia for the EV charger.
Get 'er done!
Without the ability to go local, I would do nothing but dis the product... Your video may save Emporia's rep!
They definitely don't like us doing this but I love it!
@@digiblurDIY That they don't include the option, without me having to learn how to do this from you, is just plain wrong...
I would never recommend the Emporia Vue to anyone I know.
I also had the wattages jumping arround when i put in the rubber thingys that they deliverd with then it didn't do that anymore.
Great video tutorial, like always. I flashed and it's working like a charm. Thank you. But I have a question about sensors(CT's), where I have to change the name of the sensor? and how I can calculate the one's which is connected to 2 pole breakers? I have CT-1 connected to Range on breaker #1,3 (A, B phase ) on A( 1) side, also I have few CT connected to stand by generator panel, which is connected to 2pole 40 AMP breaker in main panel. Thank you
You can rename the sensor in HA itself.
They should have examples for the two pole devices where you can double it up. Looks like this in the example:
- { phase_id: phase_a, input: "5", power: { id: cir5, filters: [ *pos, multiply: 2 ] } }
@@digiblurDIY Thank you for your quick replay. I did like you said and looks like it's working correctly. Only one weird thing, after power outage 30 minutes ago, it's showing UNAVAILABLE in HA, but log is OK and it's showing ONLINE in ESPHOME, also I add webserver, just to see what is going on and it's show all information on the webport.
@YevgeniyBolembakh that's an odd for sure. Did the address to it change maybe and HA can't connect to it?
@digiblurDIY IDK but, when I removed API and added MQTT it's showing up in my HA normally. Again time to time it's showing unavailable. Doing my investigation about this. Will keep you posted. Please create a tutorial how to add MQTT to Esphome step by step,I think it will be interesting for some folks.Thank you again for all what you do for HA community
13:32 There ARE actually calibrations on the Emporia, but they only apply to the Watts and not the Amps. MAJOR BUG. (And it doesn't say anywhere in the app that it acts like this. It just creates a huge headache.)
yeah I saw they added that recently. I haven't kept up with if they added more sensors yet, only have watts for right now.
Looks like they updated so that MQTT may work... perhaps a quick follow-up video would be in order so we can see you make it work first :)
Looks like they got it compiling again in the latest version. It kept saying missing a file for a couple versions. I will try it out and see.
BTW, I don’t think Emporia will come out with a firmware update allowing MQTT. They’ve already come out on their customer support forum saying they’re not interested in selling the hardware. They’re interested in power consumption data - cloud. Having said that, it’s using MQTT already. If you don’t want to take it apart and reflash it, create a wifi network called “emporia” then take a stock firmware or factor reset unit, power it on and see what happens. :)
Right. I covered their post about this in the CircuitSetup video. Nonsense but whatever... Take it out the cloud is pretty simple.
@@digiblurDIY oh cool, sorry for covering things you already did. I’m picking up kids from school and obviously missed some parts!
All good and that was a totally different video anyways. I appreciate it and it is always fun to poke at the companies a bit. Sometimes I get lucky and they listen.
Got it flashed EASY. ANyone done Dashboards ? other than Plain Vanilla?
I think they've put the offset in the pinheader for flashing the device. So you can put a pinheader in the holes without soldering, but have a better connection than if the row was straight.
It is strange given the solder filled holes. Definitely done on purpose.
How do you calibrate the sensors? I read somewhere there was a calculation when you want to monitor a 2 pole breaker that's 240v?
It is right in the config if you need to change the calibration, it is labelled. There's also examples of doing multiply by 2 if you are monitoring only one leg of a split-phase 240v load. github.com/emporia-vue-local/esphome#writing-configuration
Have you ever run into an issue where 1 sensor takes a long time to update values? All of my sensors are doing great, but this one circuit monitoring a standalone AC takes several minutes to post updates in HA. I don't have any different filters on this sensor from the others. So it does update, but takes around 5mins. All other sensors updates within 1 second.
I haven't run into that myself, some sort of weird averaging going on? You could enable the web browser and check to see if it is coming across.
@@digiblurDIY Thanks man! I'll keep digging around and will try the web browser tonight. I followed your video about 2yrs ago and finally bought my first home recently. Got this thing installed (and updated) last weekend. Its been a fun journey!
Would a 7-pin pogo connected properly to a cp2102 usb ttl work here for a solderless flash? I’ve not soldered in 45 years and interested in options. Unsure how to best deal with the flux if this is an option? Thank you
Yes. I have seen people use blue tack as well to go solderlesss
I just got one of these in Dec and is has 2 main clamps nd 18 reg clamps
The kit I got has 18 total like shown on the listing. Had it for 3 or 4 months. Special run?
@@digiblurDIY It have been working good in the app where I have the option to enter in my local electric company along with cost per KW.
it only let me enter in electric price but there no way to enter in taxes so the electric cost part does not work well.
I also have random notice of offline in the app. and get ready for lots on notifications.
Like you said they are all in your business with that app
I just purchased a Emporia Vue2 this past week and attempted to follow this guide. The board shows revision 5. I can't get the get the"esptool.py flash_id" command to connect. I checked the USB to TTL drivers. I rechecked my solder joints. They may have made a change to stop folks from flashing in rev. 5.
Could you drop into discord and post some pics? discord.digiblur.com
@@digiblurDIY I think this unit may be defective. I am going to send back to Amazon and get another. I will update you once the new until comes in. Thanks for you help.
Did you ever figure it out? Also on the rev 5 board and failing to connect
@@fatalpush995 Just curious if you ever figured this out. I just got a revision 5 and I'm also hitting this wall. I'm wondering if it's my particular TTL so I have another coming tomorrow.
@@antds857 Did you ever find a solution to your fail to connect issue?
This video helped me, thank you!
Awesome!
Hi Travis, what about the new Emporia Vue 3 version, can that also flashed to esphome?
Yup! digiblur.com/2024/03/14/emporia-vue-gen3-esp32-esphome-home-assistant
Thanks, keep up the good work.
Sorry for the dumb question… how did you solder the pins on? Seems every time I move the iron away and shove the pin through it cools too fast 😂. I haven’t soldered since I was at school! Any suggestions would be much appreciated.
You can use clips. www.digiblur.com/p/linkind-esp32-smart-switch-how-to-flash.html?m=1
@@digiblurDIY Ahh, you're awesome, thank you!
I’ve been running two of these for about three weeks now and it works great. There’s a short thread in the ESPHome topic on the HA community page. MQTT support is coming soon. Re values jumping around for ports without clamps plugged into them, comment those circuits out in the yaml, recompile and upload. Makes sure you get both spots - each circuit is listed twice in the yaml, once for the wattage sensor then again a little lower for the power consumption sensor definition.
Yep. I talked about that on the FAQ. I will look on the HA side. I found the thread on the Esphome side. Thanks!
Thanks for making this!
No problem!
Given mains voltage tends to vary pretty well constantly, this is not as noisy as it may seem given the sample rate and they are not really doing averaging.
Guessing Emporia figure it looks more accurate like this? Or maybe they just didn't want to put the extra effort into the programming to add any kind of averaging and still keep it ball park accurate
Guessing the later given even the kill-o-watt folks figured out how to balance it. Not a bad box for the residential use case though given the price so I'll give them props for that.
@@digiblurDIY Could work well for something like Home Assistant energy monitoring and automations which are not so critical on minor fluctuations
And actually in stock which is a plus these days!
@@digiblurDIY I was just reading the specs and it states in the specs the Gen 2 Vue has ZigBee Smart Energy Profile 1.1b. Did you find any use for that in your testing or did you do it all WiFi?
I didn't see any other RF chip other than the ESP32 chip. Where did you see this spec?
Just wondering: were the values fluctuating because no CT clamp installed and the burden resistor isn't there? Do the CT clamps supplied have burden resistors integrated or are they on the Emporia board?
I do think it is due to the inputs flapping in the wind. According to the Emporia guys the burden is in the clamp itself.
Does regular CT clamps works with this instead of using only their proprietary ones?
You would need to change the calibration to match your clamps. Nothing unqiue about these clamps.
I have split 150a so 300a total service in two boxes. Would I need two separate boxes that have no knowledge of each other or is there a way to hook up both panels in a connected way?
If it is two separate services from the utility then yeah you'll need two unless you have some way of using the clamps on both if they are close enough?
The device defaults to 120v. You have to scale if the voltage is different.
How do you do that? I'm currently trying to figure this out?
Any chance on this working with Tasmota one day? I haven't made the switch to ESPHome and actively fight it (though I'm not sure why)
I would probably say not at this time unless someone writes the full blown driver for it. I use both esphome and Tasmota myself.
Lol i am the same way. I like one code base and not having to have multiple points of these being able to enter the network. Now that there is a firmware out there that works, the major hard parts are done. I am sure they will have one soon(year or two) if some one wants to go through the files and make a version in tasmota.
Man, I can't wait to do this I have the stock firmware and sometimes some if the sensors goes offline. a reload of plugin fixes just but it's annoying.
This fits that decision I talk about when you figure out the cloud sucks. ;)
Is it possible to use 50A transformer on mains? No way I'm gonna fit those bulky 200A clamps on mine. 50A should be enough for european 3x32A 380v service? I wonder if its usable in europe at all? If anything below 100W @120v is too noisy to measure then in europe anything below 200w@240v is too noisy? I wonder if they make smaller clamps, eg. 16A instead of 50A? Also can you choose which phase is individual clamp on? Different mains phases might vary in voltage quite a bit.
You would need to change the calibration on those channels then.
@@digiblurDIY turned out 200A clamps have bigger jacks. Also 200A are absolutely humongous, no way i'm gonna fit and bend my solid core aluminium mains to fit them.
Hey Travis, what exactly is meant by "the HA Blue will not build this via ESPHome. You would need to use a docker install on a supported processor to build the yaml file." that you mentioned in the more information section? I have the Emporia Vue 2 and I'm interested in doing this flashing ESPHome onto the Emporia device. But I have a HA Blue and I don't have a docker install of HA on a supported machine. And I'm not interested in learning Docker just to install HA to build some YAML file. At that point this does not seem to be worth it just to get it integrate with HA energy dashboard. How can I work around this?
I don't have an HA Blue myself so I haven't been able to test this. It was something a member reported. I will see if I can find anything on the Esphome side regarding this. Have you tried to compile it with the latest version?
@@digiblurDIY I have HA Blue and I get this error:
"Tool Manager: Installing platformio/toolchain-esp32ulp @ ~1.22851.0
Error: Could not find the package with 'platformio/toolchain-esp32ulp @ ~1.22851.0' requirements for your system 'linux_aarch64' "
Stuck at flashing. No cold joints, usb ttl driver correct, TX rx in right location, but still will not communicate. Any ideas to try?
Which TTL adapter? Some don't have enough amps.
Generic cp2102 usb-ttl v4,2
Can you recommend a better flasher with higher current?
I have been using this one even for the hungry esp32 linkind light switches. geni.us/XUNpdG4
But I do think my new favorite is the Voltlink one in my latest unboxing video.
I have a first gen power monitor. Would it essentially be the the same setup with tweaks to the config for less inputs? Has anyone experimented with the first gen model?
I haven't seen the first Gen. You would have to open it and see what chips it uses.
@@digiblurDIY I just checked and it uses the ESP32. However it has a breakout board for all the indivdual circuit sensors. I'll hop on discord and share some pictures.
hi! its possible to see more clearly the wire diagram pls!!
All the guides are here www.emporiaenergy.com/installation-guides
@@digiblurDIY sorry! im talking about the wire diagram to flash the emporia
github.com/emporia-vue-local/esphome?tab=readme-ov-file#backing-up--flashing-the-vue-2
@@digiblurDIY its possible to show more details in your video? thanks
What questions do you have?
"emporia pasted your clipboard"... how do you get notified of activity info such as this?? .
Android 12 just does it.
QUESTION: Does anyone make a product similar to this, that would allow individual monitoring of each individual “DC” solar panel in an array
so that we can log production per panel, possibly even with remote access???
I've seen that done with the inverters that had data connections before, not sure if there is an aftermarket deal though. No experience with that side of things.
Is there vue 2 and a separate vue 1 that has not been tested with esphome or something? The amazon listing does not say vue 1 vs 2, so was wondering
They call it a Gen 2 on their website. The amazon listing is the latest one and the same I have.
Gen 2 is the one with the 3 ports on top and 16 small ports on the sides. Gen 1 isn't really sold anymore and just had the 3 main ports on top with a expansion module for 8 of the circuits.
Thanks for the clarification on this!
Have everything connected but can not get espflash to connect any thoughts. I am able to flag other esp devices fine.
I had this issue with someone on Discord the other day. Their USB flasher didn't provide enough power. Try a different USB port is one thing to try, use a bench power supply is one method or swapping to one like this. amzn.to/3tIybRd
@@digiblurDIY no joy tried that also. Only different is if I do not have IOO port jumped to case of esp I get beeping sounds. This is why I think I have got it in boot mode.
Swap RX/TX? and make sure GPIO 0 is held to ground during power up.
I use esptool.py flash_id command to check to see if I am connected.
NEWB Here.... Just a gentle reminder that could be added to the video. If this is your first time using the CP2102-USB to TTL, make sure you install the drivers and don't use the ones that windows finds!!! I just spent 2 hours troubleshooting my connections, looking at traces on the board, beating up my computer... Just download the appropriate drivers!
Weird...i have helped many people and told them to use the windows drivers and it worked fine. This was windows 10 and 11.
Anyone know if this is still working? And or if it can work on the new gen 3?
Yes digiblur.com/2024/03/14/emporia-vue-gen3-esp32-esphome-home-assistant
@@digiblurDIYYou rock!
Do you envision another video but aimed at gen3?
@mrbigbluff21 yes. I have part of it done. Just been busy.
@@digiblurDIY Sweet, than I'll wait for this before proceeding. It'll be a huge help for myself (and probably lots of others!). Much appreciated.
It is a very super tutorial video for the Emporia flash with ESPHome. But I have a trouble and I don't find any guideline for this. So I used this code, I flashed the Emporia and it worked. It is actually behind tha wall. I replaced my wifi network.. But with this code we don't have a captive portal or any webinterface where we can change Wifi network. So how can I manage this without a new flash? I don't wanna open my wall. It is possible but it a whole day work... I hope someone know how can this situation handle without dimantling. Thank you guys.
I don't think web interface is supported yet on this build of esphome. Use the Esphome code and change the things you need and hit update to send over the new bin.
@@digiblurDIY but how I connect my server/ESPhome with the device without a same wifi connection? I can't connect my unraid server direcly to Emoria fallback AP bacuse is on LAN and don't work with wifi stick.
Oh without the captive portal or putting multiple wifi networks in the code before the change you will need to manually flash it again. It might be easier to make the same wifi network again add both wifi networks and switch it back.
@@digiblurDIY unfortunately I can't do that because the router is dead. However I do that. Thanks a lot
Use your current one.
can Aeotec Home Energy Meter Gen5 60A be install tazmota firmware?
Isn't that Zwave?
Quick note.
it says on the instructions "Connect RX to RX, TX to TX, "
now, my Vue is finally online but when trying to configure it on the integration it asks for a password.
If you put a password in the setup for the API then you'll need to use it. I didn't put one myself.
I just purchased a Emporia Vue and have found out that it is cloud based only and I was ready to send it back to Amazon but I found your video.
I was looking at the other options like the Shelly and the CircuitSetup boards but it looks like for the shear amount of CT clamps the Emporia is pretty cheap.
I have never used Home Assistant or ESPhome so this is all new to me, I watched a couple of your other videos about getting home assistant setup.
Am I right in saying I am going to need some sort of machine to run Home Assistant (looking at a Dell Optiplex 3050 micro, 4GB of RAM, 500GB SSD used on eBay)
A CP2102 USB TO TTL module, some male PCB headers and some breadboard jumper cable? I have all the soldering equipment already, but do I need any other hardware?
I presume home assistant will log all my power consumption just like the Emporia cloud does?
So I can look back over my power consumption by second, minute, hour, day, week or month?
Thanks for the great videos as no way I would have found out about all this myself!
Jumping in deep and quick! I like it!!
Yes, I highly recommend a dedicated machine to run Home Assistant. You can for testing run it in a VM on Windows but I wouldn't keep it there for long because it isn't stable and that's not fun. I've done a video on setup with this very machine style but whatever you can find on refurbs is usually great.
Pretty much all you need, some have done few different methods to attach to those holes so use whatever your skillset allows. It is just a one time thing.
Also if you feel you've got in a little over your head and have some questions you can hit myself and others up in my discord chat at discord.digiblur.com
@@digiblurDIY Yup sure does feel like the deep end :) Hopefully I can pull it off, I will be sure to check out your discord.
Thanks for the reply!
Has anyone used those flexible clamps from Emporia? Can seem to find a way to buy them separately.
I see they are sold on their website. shop.emporiaenergy.com/collections/emporia-products/products/gen-2-emporia-vue-with-16-sensors-and-pair-of-flexible-current-sensors
Tried it all and it looks like it does flash and everything, but i dont get any response from the emporia besides the powe rlight.
Do i need more than 3.3v to test it or what is going on? Can someone give me a hint?
it does depend on the power supply you have, sometimes they will boot sometimes they won't. Unplug the wires and try to power it via mains.
@@digiblurDIY you mean i can flash this thing with just rx tx and main power applied? Or did u mean power with mains to see if something got flashed?
Powersupply is just the usb flasher right now
Yes. If you saw the flash go through fine then disconnect and see if the mains power will work. Some usb flashers/ports won't power esp32 devices enough for them to join the Wi-Fi.
@@digiblurDIY for some reason this morning i did connect it all and tried reflash and it went through, saw all the gizmos blinking and had ip and was able to add it to esphome, disconnected it all and put back into original case and mounted back in bracker box and...nothing again besides power light. Does that make any sense for you? Is it possible that it just ran from the usb flasher and not from its rom?
No that doesn't make any sense. I have seen it the other way a good bit where it flashes but won't boot from a usb flasher since the device pulls too much power and needs mains to join the wifi.
Can this show in amps?
It does not. You would need to calculate that. The CircuitSetup one does and might be a better option that has this natively calculated by the power monitoring chip itself.
@@digiblurDIY can you provide a link for this one.. ? I can't find it..
ruclips.net/video/n2XZzciz0s4/видео.html
@2:17 you almost made me pee myself. Yup, hit 50 in February
I can’t watch your videos without buying something right after..
The camera one was easy.. It was out of stock 🤣
The 1 sec look back data is very bad, only shows accurate detail while using app but 1sec look back is useless, anyone else experiencing? Ever since an app downgrade about 1 year ago...
... no link the circuit setup device? really?
I will link the other video on it. I did a card on it on this video but you might have missed it
Shelly 3EM is a better choice for Home Assistant as it has native support, Emporia have no plans to support anything other than their cloud service.
19 vs 3 so you do need to look at the job requirements.
i have been trying to look for a power monitor for my trailer aka house that is inly Bluetooth but that's getting hard because company's figured out that they can collect data and sell it . we already have the government up are ass we dont need other pep to just trying to make money
They don't like that we can pull these out of the cloud as the data they gather is massivenand valuable.
This system is good but has a major flaw if you've got grid and solar power. It double counts the grid power. Emporia told me they can't fix this, even though it's one subtraction calculation they'd have to do. So it was useless to me, and would be to anyone with grid and solar power.
And there my friend is the whole reason to do Esphome on it.
@@digiblurDIY what is Esphome?
The process I show in the video.
Pretty sure this guy never took his high school class of electronics and the differences between voltage, wattage and amperage
Nope. Quit at the 5th grade right before that class.
Multi-core isn't going to help unless the software is multi-thread to take advantage of more than 1 core. 👍
I wish it had Ethernet
That probably would need some sort device of isolation to pass code mixing low voltage and mains voltage which would raise the cost too much. The esp32 chip does support ethernet.
@@digiblurDIY I’m not sure it would be possible here due to the pins being used on the esp32. There’s a second “processor” on the PCB that’s helping the esp32. I’ll have to dig up my notes from earlier on in the reverse engineering game before these guys came out with the esphome library which has been awesome!
Well, it looks like the whole device and company just sucks. First of all they are only interested in forcing you to use their cloud. The cloud services ARE NOT RELIABLE. Next thing is: the Customer doesn't know what are they using the Customer data for. And these data are SENSITIVE data! Very sensitive. They can easily be used agains the Customer. Now the device itself: i can't see the device is sensing the voltages on both or all three phases (for 3-phase versions)! If you check the voltage on 3-phase system (for example in Europe) the L1-N, L2-N and L3-N voltages can vary A LOT. What does it mean? If you have current measurement on all 3 phases but voltage sensing on one phase only the whole power consumption accuracy just sucks. I checked mine 3-phase today: L1 voltage is 231 VAC, L2 is 245 VAC and L3 is 251 VAC. If Emporia is just taking voltage out of L1 and assuming L2 and L3 voltage is the same (in ideal conditions they should match but IT IS NOT THE CASE IN REAL LIFE) then calculated power consumption accuracy is so shitty.
It uses the voltage for each phase as reference so you do specify that at least in the Esphome method. I can't speak about stock cloud software as I don't use it.
@@digiblurDIY Thanks for reply!:) "It uses the voltage for each phase as reference ..." what you mean exactly? Is it actually sensing the voltage on each phase or just assuming it is i.e. 230VAC and equal on all phases?
There are three sensors for the three wires and they need to be assigned to each for voltage reference.
Bullshit. The Emporia is obviously sampling at a much higher rate than is available in the other rig. Doesn't even look like there's a realtime view in that other thing. Re: voltage: The voltage is directly measured on each of the split phases, and it's the same for every breaker on that phase (obviously).What you smokin' bro ? ;)
Yes. That's what split phase is. This box does up to three phase power voltage reference.
buy IotaWatt!
That is a choice but last I saw they only had analog esp8266 so I skipped it.
Unfortunately, I am using a 64-bit Rasp Pi for this. ESPHome is giving me the following error: "Could not find the package with 'platformio/toolchain-esp32ulp @ ~1.22851.0' requirements for your system 'linux_aarch64'"
This is known issue documented on on the official GitHub for this project. Does anyone have another way of doing this? I really wanted to get this done via ESPHome since it is so much simpler than other flashing solutions.
Fire up a VM on computer maybe? I thought they resolved this issue though. I don't run a Pi so I can't check.
@@digiblurDIY I appreciate your response! I did end up with a VM but when I run `esptool.py flash_id` I get the following error:
"Serial port /dev/ttyUSB0
/dev/ttyUSB0 failed to connect: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'"
I confirmed this is the correct USB port, and checked my connections and soldering. Everything looks fine. The USB to TTL adapter I am using only has the red light on for the ground LED. If I disconnect the power wire, the blue LED lights up for RXD. Tried this on 5v and 3.3v and even tried swapping the rx and tx in case TTL was auto-reversed as well.
Any thoughts or lessons learned? Beginning to wonder if I got unlucky with the TTL (I purchased the one in your description).
I assume you are running on a linux box given the port? Hard to really pin down the permissions, make sure nothing else is running that could be using that port.