Hello, I'm thinking I'm getting in way over my head, but I need some help. I have a Globe smart powerbar that stopped connecting to my apartment wifi for whatever reason. I opened it up and it has a TYWE3S processor that seems to control it. It also looks like it is almost the exact same footprint as an ESP-12F that I have sitting around. I've traced all the circuits on the powerbar, or as much as I can. I'm also starting down the path of removing outside companies access to my data, like Amazon echo inquiries, or having to go through the Amazon and Globe servers in order to turn on/off a device I have plugged in. Thus I'm interested in setting up a self-contained smart home assistant.
I'm wondering 2 things,
Would someone be able help me write the appropriate code for the ESP-12F to properly control the outlets, if I provide the traced circuits for the powerbar? I started trying to learn how to code years ago and then my daughter was born and my life ceased to exist. I've forgotten pretty much everything I learned.
Are TYWE3S chips able to read/write like ESP chips? Could I essentially read the program on that chip and reverse engineer it to either reuse the chip the way I want, or form a basis for code on an ESP-12F?
Just a couple of comments, there is a section for paid work, flag your post and ask to have it moved.
Do you really think knowing your lights are on or off (if the data has, in fact, left your hub) is a problem?
It's more about issuing a command and then Amazon or Google collecting data that really don't need. The ring doorbell incident is a perfect example. Delivery driver made a false claim that the homeowner made a racist comment... Or something along those lines and Amazon suspended the homeowners account. The less control they have the better.
This is just the first step.
Also, I'm not necessarily looking for someone to write the code outright for me. I've had other people offer to help with other tech projects, and they offered to do all the stuff I didn't understand for me, but I've also had others be more like a mentor and essentially "hold my hand" through a project. So no I don't want to flag this and have it moved to a paid work forum. The main point of this is to learn while I get it done.
The thing is, there are two types of topology, one is what you are talking about, which sends data back to some corporate entity, but then there is what I have, which only goes to a hub.
Not sure about your Ring comment, it sounds like either a good thing or a confused thing. In any case, I make my own ring-type device, and the data stays within my house. The reason people buy Ring is so they can interact with their front door from work. The only way that can be done is with the internet. If you use an ESP32 for your project, you can have remote access without using the internet. The name is Zigbee.
Rather than try to reverse engineer and modify a consumer product, start with an open source home control setup, where you have functioning source code and hardware that can be modified to your specifications.
Here's a link to the story... It was also featured on Louis Rossman's YouTube channel as well as a few other places.
As for your comment about reinventing the light switch... Why are you judging me?
I want smart home automation, and the powerbar was used on a regular basis for a number of things like when my daughter would forget to turn off her desk lamp, I could set automations to make sure everything was off at the end of the night. Or if the temperature would get to hot but I didn't want the A/C on, I could turn on a fan in the window. It's not about reinventing the light switch. It's about keeping what I have out of the landfill and using what I have.
And that's what my goal is. To set up the hub so that most commands stay local. Only when necessary will things go through Amazon or Google. Also when my internet goes down, my smart home won't go down as well.
As for the ESP32, I don't have one of those at the moment. I DO have an ESP-12F which looks like it would be the exact same footprint on the board as the TYWE3S that was used from factory. My understanding is that it would be more than capable of performing the functions I want.
I would but I have a product that should work, I just won't connect to the wifi anymore. I don't want to buy something else when I have the means to keep something I already have out of the landfill.
Why are you not able to take a suggestion without calling for mommy?
That's about it. You say you want nothing listening to your "lightswitch" but you won't discard your tech, because you say you want full voice control (which requires something listening). If you insist on making an overly complex light switch, consider a timer or a real time clock to actuate devices.
Didn't seem like a suggestion to me but rather a criticism without a suggestion.
I'm not offended, and what I was asking for is to maintain the current functionality of product without going through the Globe servers.
The light switch at this point is irrelevant. But over time as I build out the system, I will build it so that as much as possible stays on my local system. Why is that so hard to understand? Right I'm asking about the powerbar.
Take suggestions as suggestions, not as criticism that makes you say your feelings are hurt.
Use an "egg timer" (plug-in timer) to schedule when your switches are enabled.
Do you understand the scope of programming voice recognition "off-grid"? How will you get all those libraries? How will you process the sounds? I think you will discover that you need the www to realize your idea. If you do not like the "snooping" then play games with it. In the early days of free email accounts, I sent email with specific content (like, every minute for an entire week) to make the "snoop" think I liked strawberry ice cream. It worked. I got all the "you are fat" and "you will die" adverts... but forever the statistics will be that I like nothing but strawberry ice cream.
Search "Occam's razor" - that was my initial message with the light switch and egg timer, but can be ignored.
Why didn't you just move on if you're weren't going to post anything helpful?
Where's the suggestion?
The power bar doesn't actually use voice recognition. It just connects to wifi and you can use Google home or Amazon Alexa or your phone to turn it on/off..
At this point I don't need to know how to program voice recognition. Besides Home Assistant already know that. I just need to know how to install the ESP-12F I have in place of the TYWE3S that is currently there, and program it to connect to my wifi and turn each receptacle on and off.
Any other helpful suggestions regarding egg timers?