Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Utiliser les API Python pour sérialiser du JSON #95

Open
AXDOOMER opened this issue May 22, 2020 · 0 comments
Open

Utiliser les API Python pour sérialiser du JSON #95

AXDOOMER opened this issue May 22, 2020 · 0 comments
Assignees

Comments

@AXDOOMER
Copy link
Member

Dans #94 (review)

image

client.publish(TOPIC_SEND, payload="{\"temperature\": \"" + temp + \", \"humidite\": \"" + humi + "%\"}", qos=0, retain=False)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant