Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with ESP32 Tasmota #1

Open
pmknowles opened this issue Nov 1, 2022 · 3 comments
Open

Help with ESP32 Tasmota #1

pmknowles opened this issue Nov 1, 2022 · 3 comments

Comments

@pmknowles
Copy link

Not really an issue just hoping you might be able to give me some insight. I's like to read my Renogy using an ESP32 running Tasmota. There's a BLEOp command with the following format
BLEOp1 m:MAC s:svc <c:characteristic> <n:notifychar> <w:hextowrite>
I know the MAC and I presume I would write 01030100000ac431 (device - read registers - start address - number of registers - checksum).
I'm not sure what to put in service, characteristic and notifychar. Do you have any pointers?

@cyrils
Copy link
Owner

cyrils commented Nov 2, 2022

I am not very familiar with Tasmota. But you can find the values of write/notify characteristics in https://github.com/cyrils/web-bt1-monitor/blob/main/js/BtOneApp.js

These values work only for BT-1 Bluetooth adapter. I assume in your BLEOp command, syntax is MAC, ServiceUuid, WriteCharUuid, NotifyCharUuid, HexToWrite. However in case of Renogy there are two different write and notify services, not sure how to give that in the command.

@pmknowles
Copy link
Author

pmknowles commented Nov 2, 2022 via email

@cyrils
Copy link
Owner

cyrils commented Nov 2, 2022

Again I’m not sure how BLEOp does it. In python and JavaScript I have to subscribe to the notifyChar and then send the read command to writeChar, I will get the response from notifyChar through a callback. Also I use device Id 255.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants