Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Cristi Datki 0
Hi, need to controll Epson projector (send PWR On, PWR Off, PWR?) messages
For controllinhg Epson, need to send a command for establishing connection (0x450x530x430x2F0x560x0500x2E0x6E0x650x740x100x030x000x000x000x00) and after that send the command for interogating power status (0x500x570x520x3f0x0d)
Testing this from Hercules utility, works great
When coding in LUA, after sending first command, when trying to send second command I get Connection reset by peer error
If sending just first command, I get a proper response, so, no error in connection or command string
Here is my code:
Looks like the connection is closed after frist call, but do not know how to keep alive, tried everything
Can anybody help me?
Regards
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.