Skip to content

Commit

Permalink
34 update readme before people waste their time and money on tuya junk (
Browse files Browse the repository at this point in the history
#37)

* Update README.md

Signed-off-by: Andy B <[email protected]>

* Update README.md

Changed the text 

Signed-off-by: Andy B <[email protected]>

* Add cabling photo

Signed-off-by: Andy B <[email protected]>

* Update README.md and added cabling.png 

Signed-off-by: Andy B <[email protected]>

* Update README.md

Signed-off-by: Andy B <[email protected]>

---------

Signed-off-by: Andy B <[email protected]>
  • Loading branch information
andy778 authored Oct 30, 2024
1 parent e413b39 commit 8e875e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SPDX-License-Identifier: MIT

EMAX smart power sockets that is based on Tuya and one can buy from e.g. Motonet [95-02136](https://www.motonet.fi/tuote/emax-alypistorasia-energiankulutusmittarilla?product=95-02136) and the importer homepage is [emaxsmarthome](https://emaxsmarthome.fi/product/alypistorasia-16a-3500w-energiakulutusmittarilla/)

Note! this have now been added to [tuya-cloudcutter](https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/commit/1f579ddf50f7668a34c5097660ae8301644443fc) so should be simpler for other having this one
This have now been added to [tuya-cloudcutter](https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/commit/1f579ddf50f7668a34c5097660ae8301644443fc) but the tuya-cloudcutter vulnerability this requires, was patched so one could probably not use this any more!


![Älypistorasia Tuote 8774 PO 8548](https://i0.wp.com/emaxsmarthome.fi/wp-content/uploads/2021/10/8774_8.jpg)
Expand All @@ -24,7 +24,8 @@ Opening up the device and a ocular inspection of the chip gives this is an [WB2S

### Serial port 1
This port is used as a for programing the device and reading out the software with the help of [ltchiptool](https://github.com/libretiny-eu/ltchiptool)
and and basic RT232L USB dongle the chip info and software versio is [Get chip info from ltchiptool](Get_chip_info.png).
and and basic [RT232L USB dongle](cabling.png) the chip info and software versio is [Get chip info from ltchiptool](Get_chip_info.png).
Note! it will probably need external power in order to flash new software to it.

Reading out the ROM file can also be dobe with ltchiptool (I used a Windows 11 OS for this). Analyzing the dumped out software can be dessected with [bk7231tools](https://github.com/tuya-cloudcutter/bk7231tools)
```
Expand Down Expand Up @@ -56,7 +57,7 @@ Storage area `user_param_key`:
### Serial port 2
This port is used as a console port and logs what happens on the device.

Connecting RT232L USB dongle to serialport on the chips gives this output [tuya.log](tuya.log).
Connecting RT232L USB dongle to the chips gives this output [tuya.log](tuya.log).

## Flashing the device
As there was no EMAX in the list of boards I added orginal_storage.json to [upk.libretiny.eu](https://upk.libretiny.eu/) genrate an yaml file that one can add to Home Assistant and ESPHome.
Expand Down
Binary file added cabling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e875e2

Please sign in to comment.