MeGrimlock
(Me Grimlock)
July 19, 2020, 12:01am
408
Hi, I tried to follow the isntructions but I don’t seem to be understanding how to do it.
I’m running hassos v 0.112.4 i followed the instructions on the site and used the following image: https://github.com/home-assistant/operating-system/releases/download/4.11/hassos_rpi3-4.11.img.gz
thanks for your help!
lolouk44
(lolouk44)
July 19, 2020, 7:28am
409
What’s your setup?
Can you share your docker compose file or docker command?
Where are you running the hcitool command?
lolouk44
(lolouk44)
July 19, 2020, 7:30am
410
Have you managed to install home assistant and get it running?
What device are you running it on?
At what step are you having troubles?
Kijuz
(Beppe)
July 19, 2020, 8:06am
411
Hi.
Great add-on and job!
I have a problem with users identity.
User 2 and User 3 was mapped both on Mary.
User 1 is correct.
What’s wrong?
Here is the log:
User1 GT 80
User1 name Beppe
User 2 name Mary
User 2 Lt 75
User 3 name Davide
lolouk44
(lolouk44)
July 19, 2020, 9:31am
412
Looks about right.
If weight is more than 80, measurement gets assigned to beppe
If weight is les than 75 measurement gets assigned to mary
Otherwise (weight between 75 and 80) measurement gets assigned to davide
Kijuz
(Beppe)
July 19, 2020, 10:32am
413
Ah ok. I misunderstood the way.
I’ll correct the config assigning Davide to user 2 and user2 Lt 30
Tks!!
MeGrimlock
(Me Grimlock)
July 19, 2020, 3:15pm
414
Yeah, it working and so far i’m loving it but I’m new to the docker system.
My setup is a Raspi 3 running the image from the link I sent earlier. I tried using ssh and git clone your repository into the addons folder… with no luck.
When I try to add it as a custom link on the addons section, the supervisor log displays this message:
20-07-18 23:28:29 ERROR (MainThread) [supervisor.store] Can’t load from repository https://github.com/lolouk44/hassio-addons/tree/master/mi-scale
As for my setup and software. this is what I have :
System Health
arch
armv7l
chassis
embedded
dev
false
docker
true
docker_version
19.03.8
hassio
true
host_os
HassOS 4.11
installation_type
Home Assistant OS
os_name
Linux
os_version
4.19.127-v7
python_version
3.7.7
supervisor
229
timezone
America/Montevideo
version
0.112.4
virtualenv
false
thanks for your help!
PS: I just installed HACS, if thats of any help.
lolouk44
(lolouk44)
July 19, 2020, 4:41pm
415
That’s because the address for the add on should be
1 Like
MeGrimlock
(Me Grimlock)
July 19, 2020, 10:01pm
416
lol, asides from feeling a bit stupid… I’m very happy that it was just that! Works great!!!
Thanks for your help
1 Like
Hello lolouk44!
Can you please tell me what am I doing wrong?
HCI_DEV: hci0
MISCALE_MAC: '8A:1F:10:AB:A1:2D'
MQTT_PREFIX: miScale
MQTT_HOST: 192.168.1.90
# MQTT_USERNAME: ''
# MQTT_PASSWORD: ''
MQTT_PORT: 1883
TIME_INTERVAL: 30
MQTT_DISCOVERY: true
MQTT_DISCOVERY_PREFIX: homeassistant
USER1_GT: 70
USER1_SEX: male
USER1_NAME: Jo
USER1_HEIGHT: 175
USER1_DOB: '1990-01-01'
USER2_LT: 35
USER2_SEX: female
USER2_NAME: Serena
USER2_HEIGHT: 95
USER2_DOB: '1990-01-01'
USER3_SEX: female
USER3_NAME: Missy
USER3_HEIGHT: 150
USER3_DOB: '1990-01-01'
Failed to save addon configuration, not a valid value for dictionary value @ data['options']. Got {'HCI_DEV': 'hci0', 'MISCALE_MAC': '8A:1F:10:AB:A1:2D', 'MQTT_PREFIX': 'miScale', 'MQTT_HOST': '192.168.1.90', 'MQTT_PORT': 1883, 'TIME_INTERVAL': 30, 'MQTT_DISCOVERY': True, 'MQTT_DISCOVERY_PREFIX': 'homeassistant', 'USER1_GT': 70, 'USER1_SEX': 'male', 'USER1_NAME': 'Jo', 'USER1_HEIGHT': 175, 'USER1_DOB': '1990-01-01', 'USER2_LT': 35, 'USER2_SEX': 'female', 'USER2_NAME': 'Serena', 'USER2_HEIGHT': 95, 'USER2_DOB': '1990-01-01', 'USER3_SEX': 'female', 'USER3_NAME': 'Missy', 'USER3_HEIGHT': 150...
Thank you!
lolouk44
(lolouk44)
July 27, 2020, 12:59am
419
You can’t comment on json
Remove the hashes and save it should work
1 Like
HCI_DEV: hci0
MISCALE_MAC: '8A:1F:10:AB:A1:2D'
MQTT_PREFIX: miScale
MQTT_HOST: 192.168.1.90
MQTT_PORT: 1883
TIME_INTERVAL: 30
MQTT_DISCOVERY: true
MQTT_DISCOVERY_PREFIX: homeassistant
USER1_GT: 70
USER1_SEX: male
USER1_NAME: Jo
USER1_HEIGHT: 175
USER1_DOB: '1990-01-01'
USER2_LT: 35
USER2_SEX: female
USER2_NAME: Serena
USER2_HEIGHT: 95
USER2_DOB: '1990-01-01'
USER3_SEX: female
USER3_NAME: Missy
USER3_HEIGHT: 150
USER3_DOB: '1990-01-01'
Failed to save addon configuration, not a valid value for dictionary value @ data['options']. Got {'HCI_DEV': 'hci0', 'MISCALE_MAC': '8A:1F:10:AB:A1:2D', 'MQTT_PREFIX': 'miScale', 'MQTT_HOST': '192.168.1.90', 'MQTT_PORT': 1883, 'TIME_INTERVAL': 30, 'MQTT_DISCOVERY': True, 'MQTT_DISCOVERY_PREFIX': 'homeassistant', 'USER1_GT': 70, 'USER1_SEX': 'male', 'USER1_NAME': 'Jo', 'USER1_HEIGHT': 175, 'USER1_DOB': '1990-01-01', 'USER2_LT': 35, 'USER2_SEX': 'female', 'USER2_NAME': 'Serena', 'USER2_HEIGHT': 95, 'USER2_DOB': '1990-01-01', 'USER3_SEX': 'female', 'USER3_NAME': 'Missy', 'USER3_HEIGHT': 150...
lolouk44
(lolouk44)
July 27, 2020, 7:15am
421
Reset the config and just replace the value with yours. Don’t add or remove anything
Everything is great now! Thank!
2 Likes
thisIO
(Michael)
July 27, 2020, 10:52pm
423
lolouk44
(lolouk44)
July 28, 2020, 7:46am
424
The easiest way is to use a tool like mqtt Explorer to delete the unwanted entries
1 Like
Is it possible to support Mi Scale model XMTZC01HM with this component?
lolouk44
(lolouk44)
August 5, 2020, 10:35am
426
maybe. Have you tried it already? What do you see in the logs?
Hi Everybody!
I’ve got the MiScale V1 (without body composition).
It works great with KGs, but I can’t get lbs to work. Has anyone been able to get it to work?
The scale has a hardware button under the battery cover to select units.
If I do select Lbs on the scale, it reports the weight as KG to home assistant, and results in an error
Thanks lolouk44 for putting it all together