profile
viewpoint
Michael Freund xFragger Fabrik19 GmbH Limburg, Germany https://www.facebook.com/MiFreund

xFragger/brave 3

Basic Real-time AV Editor - allowing you to preview, mix, and route live audio and video streams on the cloud

daddy-cool/highlogger 1

no longer maintained, switch to bunyan instead

xFragger/camera 0

Camera module for MagicMirror

xFragger/core 0

The ownCloud core

xFragger/docker-java 0

Java Docker API Client

xFragger/dotfiles 0

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

xFragger/kubernetes-ingress 0

HAProxy ingress controller for K8s

xFragger/kubewatch 0

Watch k8s events and trigger Handlers

xFragger/MMM-3Day-Forecast 0

MagicMirror 2 module to show detailed 3 day forcast using the Wunderground API.

xFragger/MMM-pihole-stats 0

Pi-Hole stats for MagicMirror2

startedmicrosoft/playwright

started time in an hour

created repositorycannolijs/Primavera-roll

created time in 2 days

fork lucamaraschi/dockerode

Docker + Node = Dockerode (Node.js module for Docker's Remote API)

fork in 2 days

fork lucamaraschi/dockerignore

dockerignore is a file filter library compatible with Docker and the node-ignore API

fork in 2 days

created repositorycannolijs/Benchmark

created time in 2 days

fork lucamaraschi/dockerode

Docker + Node = Dockerode (Node.js module for Docker's Remote API)

fork in 3 days

fork lucamaraschi/yabai

A tiling window manager for macOS based on binary space partitioning

fork in 6 days

issue commentfishbigger/TapoP100

Add support for setting colour and colour temperature for L530 bulbs

Here you go, I'm not quite sure about pull requests so I'll just paste the code.

	def setColourTemp(self, colourtemp):
		URL = f"http://{self.ipAddress}/app?token={self.token}"
		Payload = {
			"method": "set_device_info",
			"params":{
				"color_temp": colourtemp
			},
			"requestTimeMils": int(round(time.time() * 1000)),
		}

		headers = {
			"Cookie": self.cookie
		}

		EncryptedPayload = self.tpLinkCipher.encrypt(json.dumps(Payload))

		SecurePassthroughPayload = {
			"method": "securePassthrough",
			"params":{
				"request": EncryptedPayload
			}
		}

		r = requests.post(URL, json=SecurePassthroughPayload, headers=headers)

		decryptedResponse = self.tpLinkCipher.decrypt(r.json()["result"]["response"])

		if ast.literal_eval(decryptedResponse)["error_code"] != 0:
			errorCode = ast.literal_eval(decryptedResponse)["error_code"]
			errorMessage = self.errorCodes[str(errorCode)]

	def setColour(self, hue, saturation):
		URL = f"http://{self.ipAddress}/app?token={self.token}"
		Payload = {
			"method": "set_device_info",
			"params":{
				"hue": hue,
				"saturation": saturation
			},
			"requestTimeMils": int(round(time.time() * 1000)),
		}

		headers = {
			"Cookie": self.cookie
		}

		EncryptedPayload = self.tpLinkCipher.encrypt(json.dumps(Payload))

		SecurePassthroughPayload = {
			"method": "securePassthrough",
			"params":{
				"request": EncryptedPayload
			}
		}

		r = requests.post(URL, json=SecurePassthroughPayload, headers=headers)

		decryptedResponse = self.tpLinkCipher.decrypt(r.json()["result"]["response"])

		if ast.literal_eval(decryptedResponse)["error_code"] != 0:
			errorCode = ast.literal_eval(decryptedResponse)["error_code"]
			errorMessage = self.errorCodes[str(errorCode)]
arrival-spring

comment created time in 9 days

issue commentfishbigger/TapoP100

Add support for setting colour and colour temperature for L530 bulbs

Make a pull request or paste the code here and I'll take a look and put it into the module :)

arrival-spring

comment created time in 9 days

issue openedfishbigger/TapoP100

Add support for setting colour and colour temperature for L530 bulbs

I have a L530 bulb and using this library I can turn it on and off and set the brightness. It would be great to also be able to change the colour of the bulb.

The variables are: color_temp - which according to the Tapo app takes values from 2500 to 6500 hue - values 0-255 saturation - values 0-100

I have got this working locally by essentially copying the setBrightness section and editing for these variables.

Can I can put this in as a pull request?

created time in 9 days

startedroche-rs/roche

started time in 17 days

startedGoogleContainerTools/kaniko

started time in 17 days

issue commentfishbigger/TapoP100

Passwords must not exceed 8 characters

My devices are on 1.3.4 as well, and I haven't updated them since before I tested this. How strange, there must be something else to it than just length or special characters.

audoh

comment created time in 20 days

issue closedfishbigger/TapoP100

Installation using pip not possible (Version 0.0.10, 2020-12-23)

Hi,

it seems the version currently available through pip/pypi is defective. Installing it using pip install results in an error claiming that HISTORY.md is missing.

Collecting PyP100 Using cached PyP100-0.0.10.tar.gz (4.2 kB) ERROR: Command errored out with exit status 1: command: /opt/PyP100/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-2ueeyzso cwd: /tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py", line 6, in <module> with open('HISTORY.md') as history_file: FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

closed time in 22 days

SvenLudwig202

issue commentfishbigger/TapoP100

Installation using pip not possible (Version 0.0.10, 2020-12-23)

Fixed in PyP100==0.0.11

SvenLudwig202

comment created time in 22 days

push eventfishbigger/TapoP100

fishbigger

commit sha a1af1f3eb3e47703d14056806eadd1706b1ebe91

Fixed HISTORY.md file not found

view details

push time in 22 days

issue commentfishbigger/TapoP100

Installation using pip not possible (Version 0.0.10, 2020-12-23)

I got the same issue

SvenLudwig202

comment created time in 22 days

issue closedzulip/zulip-js

5512382381815663

[5512382381815663](depósito por $ 70,000.00 USD A PESOS EN TOTAL A DEPOSITAR CUENTA CLIENTE BENEFICIARIA CLAVE 1273200137779157783 BANCO AZTECA GUARDADITO)

closed time in 22 days

martillo47

issue openedzulip/zulip-js

5512382381815663

[5512382381815663](depósito por $ 70,000.00 USD A PESOS EN TOTAL A DEPOSITAR CUENTA CLIENTE BENEFICIARIA CLAVE 1273200137779157783 BANCO AZTECA GUARDADITO)

created time in 23 days

issue commentfishbigger/TapoP100

Passwords must not exceed 8 characters

Just wanted to share my own experience regarding this issue. I've just implemented a simple script for some home automation and my password is well beyond 8 characters. I haven't run into any issues though. Maybe the update for my P100 plugs I installed yesterday fixed this on their end? Went from 1.3.3 to 1.3.4.

audoh

comment created time in 23 days

issue openedfishbigger/TapoP100

Installation using pip not possible (Version 0.0.10, 2020-12-23)

Hi,

it seems the version currently available through pip/pypi is defective. Installing it using pip install results in an error claiming that HISTORY.md is missing.

Collecting PyP100 Using cached PyP100-0.0.10.tar.gz (4.2 kB) ERROR: Command errored out with exit status 1: command: /opt/PyP100/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-2ueeyzso cwd: /tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-x2xw5199/pyp100_bd86ff7b0573446fb087dd6d6c10caee/setup.py", line 6, in <module> with open('HISTORY.md') as history_file: FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

created time in 23 days

push eventfishbigger/TapoP100

fishbigger

commit sha 2b03a32069242b738a2edaa62b47d5738b3d3df6

Update setup.py

view details

push time in 25 days

push eventfishbigger/TapoP100

fishbigger

commit sha 787513032b910610ebfb52abfa6475c16da3b6ec

Added V0.0.5-10 to HISTORY.md

view details

push time in 25 days

push eventfishbigger/TapoP100

fishbigger

commit sha e4036cd9391e1443f4c6bff1b73f622fe6fbfee4

Update README.md

view details

push time in 25 days

push eventfishbigger/TapoP100

fishbigger

commit sha d83ded3cc49e8326408350bbcc0e57a6f607e401

Added sonic74 as contributer

view details

push time in 25 days

push eventfishbigger/TapoP100

fishbigger

commit sha 3d624189ec5b8bd60a99f65074acb59daba762b2

Update README.md

view details

push time in 25 days

pull request commentfishbigger/TapoP100

added setBrightness

👍

sonic74

comment created time in a month

push eventfishbigger/TapoP100

Sven Killig

commit sha 8d31ab7b474c234ea085eaa81ab36bda9b4fb03c

added setBrightness

view details

Sven Killig

commit sha a714165b8f5a3347474d3ae7b9935dcceae918c3

Update README.md

view details

fishbigger

commit sha 2bd419290f52e3fb21d4dc3c597a834010691275

Merge pull request #2 from sonic74/main added setBrightness

view details

push time in a month

PR merged fishbigger/TapoP100

added setBrightness
+33 -1

3 comments

2 changed files

sonic74

pr closed time in a month

pull request commentfishbigger/TapoP100

added setBrightness

Nice :) I'll merge it but it won't end up on pip for a few days while I try and upload it :)

sonic74

comment created time in a month

more