Search found 3 matches

by mattek
Thursday 07 January 2021 22:32
Forum: Python
Topic: How to get value from sensors
Replies: 5
Views: 2237

Re: How to get value from sensors

I want to use authorization with username and password in script. When I try to use format with url "http://192.168.1.210:8080/json.htm?type=devices&rid=20" (without username/password) I get: Traceback (most recent call last): File "test2.py", line 31, in <module> json_object = json.loads ...
by mattek
Monday 04 January 2021 22:53
Forum: Python
Topic: How to get value from sensors
Replies: 5
Views: 2237

Re: How to get value from sensors

Great, It works ! My fault because I didn't read the steps: Make sure that in the Security section in the settings (Setup > Settings > System > Local Networks (no username/password) you allow 127.0.0.1 (and / or ::1 when using IPv6 ) to not need a password. Is there any option for this address to be ...
by mattek
Sunday 03 January 2021 12:36
Forum: Python
Topic: How to get value from sensors
Replies: 5
Views: 2237

How to get value from sensors

I want to display sensor values ​​but cannot access these values. I have created a script (python) for connecting Raspberry with Telegram and this is where I'm going to display the data, but first I need to download it somehow. So I'm using code https://www.domoticz.com/wiki/Python_-_Monitor_Dom ...