Comments (6)
Hi @failMode isnt there a way to use the esphome configuration to trigger that?
from esphome_samsung_ac.
Thank you for the suggestion @lanwin, I hadn't thought of that. I've done some fiddling:
First thought was to try to commandeer the UART debug function, but the earliest it will execute a sequence is after the first byte is sent (which is obviously too late). ChatGPT suggests using a UART on_data: function but I tested that and doesn't exist so the AI is hallucinating.
In short, I'm all ears if you can suggest another way to do it! :D A flow control pin on this component though, like on the esphome modbus component would be awesome.
from esphome_samsung_ac.
Can you please first try to get help on ESPHomes discord for that? I am sure that this should be possible without building it into this project.
from esphome_samsung_ac.
Did you got any answers there?
from esphome_samsung_ac.
Bumping that topic. I'm going to use a ST485EBDR already present in my device, I have two pins connected to the same GPIO:
If GPIO is low: reciver is enabled, transmitter is disabled (high resistance for the bus)
If GPI is hig: reciver is disabled, transmitter is enabled (low resistance)
When I programmed the device using esp-idf (no esperience with esp-home) i simply set =1 the TransmitEnable pin, than i revert to 0 after the command has been sent.
Now, trying to setup uart zone i can't find a settings for this behaviour.
@lanwin is the uart settings standard for espHome so i must go there to have infos?
from esphome_samsung_ac.
@lanwin I'm so sorry, I didn't see your second reply. I did end up on the home assistant discord and spent a lot of time working through using the modbus component and the uart debug flag but didn't get good results. I did end up grabbing the suggested hardware of an M5 Stack and the RS485 hat which works fantastically - basically any RS485 breakout board with auto flow control will do the job, it's just that the 'cheaper' UART->RS485 breakouts do rely on an extra input (high or low on TX) to handle the flow control. I'll take some time to try to code that feature with a pull request unless someone else beats me to it... Thank you for such a great, clean project!
from esphome_samsung_ac.
Related Issues (20)
- Did I fry my 485 unit? HOT 6
- file example.yaml is all in errors when you try to get the firmware HOT 2
- [NASA] Automatic Cleaning HOT 12
- [Non-NASA] Unable to control AC HOT 11
- 120Ω needed on Nasa? - physical layer
- [NASA] Override Temperature Readings Of Indoor Unit HOT 2
- Control Samsung AC Windfree mode HOT 1
- Control Samsung AC Quiet mode HOT 1
- Control Samsung AC Purify mode HOT 1
- does this register contain COP or SCOP?
- [NASA] Control Beep Sound HOT 28
- [COMMON] The program size (2038817 bytes) is greater than maximum allowed (1835008 bytes) HOT 1
- Non Nasa test in esphome (Home Assistant) HOT 24
- Vertical swing mode not present - how to activate? HOT 3
- Different device but with known wire interface HOT 15
- [NonNASA] Warnings - Unsupported alt_mode 0 HOT 10
- Help identify protocol ar09nxfpewqneu HOT 1
- No Issue, just asking!
- [NASA] - compiler error on ESP-IDF HOT 4
- [NonNASA] I cannot control device from HA but it's receiving data HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome_samsung_ac.