Jan200101 / ShellyPy

Python library to interact with Shelly devices
MIT License
22 stars 14 forks source link

Dokumentation? (Port) #2

Open MrR341-GER opened 2 years ago

MrR341-GER commented 2 years ago

Hi.

Can I switch the Port? becouse 80 isreserved for HTTP-Server

Jan200101 commented 2 years ago

You can specify the port to be used when initializing an instance of the main class

import ShellyPy

device = ShellyPy.Shelly("192.168.0.5", 1234)

I don't see a reason why you would do that. By default Shelly devices have their HTTP-Server, with which you interact, on Port 80.

h3tz commented 1 year ago

This would be a requirement request in case a server will be implemented