ToracX / DreamScreenCommander

A python script to control your DreamScreen devices. Based on genesisfactor initial python script.
4 stars 0 forks source link

Installation help Homebridge #1

Open Endlessknight opened 3 years ago

Endlessknight commented 3 years ago

Hi there! Could you provide some install information for someone who is all new to this? I was able to install the Homebridge plugin and the accessory is in my home app...other then that...it doesn't control my dream screen. Do I need to install Dreamscreencommander too? How do I install it?

Thanks for your help!

ToracX commented 3 years ago

Hey,

Did you make sure you set the right ip adress? You can find it in the original dreamscreen app.

Endlessknight commented 3 years ago

hey there, yes the IP Adress is correct as it's shown in the App.

ToracX commented 3 years ago

Are you getting any errors? If so please share. Maybe enable debug mode. Does switching video modes and brightness using the dreamscreen app work?

Also, next time submit homebridge related issues here: https://github.com/ToracX/homebridge-dreamscreen/issues

Endlessknight commented 3 years ago

sorry, will do so 👍 so in the log I can see that home bridge changes the status internally but not in the dream screen app or the dream screen itself debug mode? is that somewhere in the dream screen app?

ToracX commented 3 years ago

Debug mode is explained here: https://github.com/homebridge/homebridge/wiki/Basic-Troubleshooting

Have you tried the python script manually?

Endlessknight commented 3 years ago

that's the thing^^ how do I do that? ^^ sorry totally new to this

ToracX commented 3 years ago

Download the python script, for example with: git clone https://github.com/ToracX/DreamScreenCommander Open the directory the .py file is in and run: python dreamscreen.py -i 192.168.x.x -m 0 Make sure the ip is correct

Endlessknight commented 3 years ago

~/DreamScreenCommander $ python dreamscreencommander.py -i 192.168.178.43 -m 0 File "dreamscreencommander.py", line 100 print "There was an error in your IP's length" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There was an error in your IP's length")?

ToracX commented 3 years ago

~/DreamScreenCommander $ python dreamscreencommander.py -i 192.168.178.43 -m 0 File "dreamscreencommander.py", line 100 print "There was an error in your IP's length" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There was an error in your IP's length")?

No, the plugin is based on Python2 not 3. Try: python2 dreamscreencommander.py -i 192.168.178.43 -m 0

Endlessknight commented 3 years ago

Nothing happened

ToracX commented 3 years ago

Nothing happened

If it doesn't print any errors it means the script succeeded. Check you're dreamscreen if it changed modes.

Endlessknight commented 3 years ago

still in sleep mode after I executed it

ToracX commented 3 years ago

Then the problem might be somewhere between the pi / machine and dreamscreen, and not in my script. You could try setting you're dreamscreen to an static IP. And try to set it in to ambient mode and then change color via python.

Endlessknight commented 3 years ago

sadly nothing......static IP Adress for the Dreamscreen and Pi, the Dreamscreen app works fine but the code does nothing

ToracX commented 3 years ago

Thats pretty weird, it would throw up an error if there was something wrong. Mine works flawlessly.

I'm going to think about it an solution.

Endlessknight commented 3 years ago

thanks! I'll let you know if I had any progress

Endlessknight commented 3 years ago

kept trying but still nothing :(