Thanks for your help !
For anyone interested here is the full code.
[{"id":"2ec2d7befa3c2dab","type":"inject","z":"b6155538.361f38","name":"start","props":[{"p":"start","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":110,"y":300,"wires":[["714f1c657f462976"]]},{"id":"714f1c657f462976","type":"exec","z":"b6155538.361f38","command":"python3 /home/pi/Documents/Programme/Power.py","addpay":"","append":"","useSpawn":"true","timer":"","oldrc":false,"name":"","x":410,"y":300,"wires":[["7560e22c.1f947c"],[],[]]},{"id":"3ab10.679814f0a","type":"inject","z":"b6155538.361f38","name":"kill","props":[{"p":"kill","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":110,"y":340,"wires":[["714f1c657f462976"]]},{"id":"7560e22c.1f947c","type":"json","z":"b6155538.361f38","name":"","property":"payload","action":"","pretty":false,"x":690,"y":300,"wires":[["4a60834c.34424c","1976216c.d88bef"]]},{"id":"4a60834c.34424c","type":"change","z":"b6155538.361f38","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.Moteur1","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":880,"y":260,"wires":[["c0b3574c.d91388"]]},{"id":"1976216c.d88bef","type":"change","z":"b6155538.361f38","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.Moteur2","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":880,"y":300,"wires":[["9fec52cc.bf781"]]},{"id":"c0b3574c.d91388","type":"ui_chart","z":"b6155538.361f38","name":"","group":"cdd79ca5.e959a","order":5,"width":0,"height":0,"label":"Moteur 1","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"5","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1040,"y":260,"wires":[[]]},{"id":"9fec52cc.bf781","type":"ui_chart","z":"b6155538.361f38","name":"","group":"cdd79ca5.e959a","order":6,"width":0,"height":0,"label":"Moteur 2","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"5","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1040,"y":300,"wires":[[]]},{"id":"cdd79ca5.e959a","type":"ui_group","name":"Commande","tab":"5aa580e8.1498","order":1,"disp":true,"width":"11","collapse":false,"className":""},{"id":"5aa580e8.1498","type":"ui_tab","name":"Commande","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
POWER.py
# -*- coding: utf-8 -*-
import time
import json
import sys
import board
import busio
import digitalio
from digitalio import Direction, Pull
from adafruit_mcp230xx.mcp23017 import MCP23017
from collections import OrderedDict
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
from periphery import I2C
while 1==1:
# Open i2c-1 controller
i2c = I2C("/dev/i2c-1")
msgs = [I2C.Message([0x61]), I2C.Message([0x00,0x00], read=True)]
i2c.transfer(0x36, msgs)
adc_value = (msgs[1].data[0] & 0x0F) <<8 | (msgs[1].data[1])
adc_value_volt1=(adc_value*4.93/4096)
msgs = [I2C.Message([0x63]), I2C.Message([0x00,0x00], read=True)]
i2c.transfer(0x36, msgs)
adc_value2 = (msgs[1].data[0] & 0x0F) <<8 | (msgs[1].data[1])
adc_value_volt2=(adc_value2*4.93/4096)
## Output as JSON
jsonData = json.dumps(OrderedDict([
("Moteur1", adc_value_volt1),
("Moteur2", adc_value_volt2),
]))
print(jsonData)
time.sleep(0.5)