Comments (6)
Same here.
from esphome-stream-server.
Yeah, that's an unfortunate change. Thanks for your PR, I've merged the fix!
from esphome-stream-server.
@oxan @joshuaspence
I am not really sure what happened here - the PR that was "blamed for the issue" has been only merge to dev
branch, while it's "fix" has been merged to master
branch.
Anyway, in current master
, seems like there's a missing htons
call.
This configuration:
uart:
id: uart_0
# ...
stream_server:
uart_id: uart_0
port: 1234
listens on its inverse order port:
>>> s.connect(('192.168.1.15', 1234))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
>>> hex(1234)
'0x4d2'
>>> s.connect(('192.168.1.15', 0xd204))
>>>
from esphome-stream-server.
the PR that was "blamed for the issue" has been only merge to
dev
branch,
Of the ESPHome repository, which does not have a master branch; in any case this commit was included in the 2023.4 release.
while it's "fix" has been merged to
master
branch.
Of the esphome-stream-server repository.
Anyway, in current master, seems like there's a missing htons call.
Which ESPHome version are you observing this with?
from esphome-stream-server.
Of the ESPHome repository, which does not have a master branch; in any case this commit was included in the 2023.4 release.
Oh I see.
Which ESPHome version are you observing this with?
v2023.5.5
from esphome-stream-server.
Related Issues (20)
- does this support hex uart data? HOT 1
- Unreliable connections with ESPHome > 2021.9 HOT 5
- Socket Version HOT 4
- can use muti serial? HOT 3
- Using virtual-serial port with socat + stm32flash
- Incorrect directive check HOT 1
- Stream server not working on software uarts on ESP32 HOT 1
- request for telnet support HOT 3
- Official releases/tags? HOT 6
- stream spits garbage when used with high rate uart 921600 HOT 3
- DSMR & Stream-server don't play nice together HOT 2
- serial errors after x minutes HOT 13
- Sensors show "unknown" until first connection HOT 2
- Can not connect to esphome over ethernet after changes from 22 march 2023 HOT 10
- Can not connect to zigbee2mqtt over wifi after changes from 2023 HOT 1
- How can I work in udp mode?
- [Question] - Is Encryption Possible
- Bridging two UART ports?
- [Feature request] Reverse stream | net2ser HOT 1
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-stream-server.