ok not sure what I am missing now.
I don’t see anything pushed into HA, but I do see messages logged.
This is what pethub is doing:
local_pethub | Starting Pet Hub
local_pethub | Connecting to Home Assistant MQTT endpoint at comms.heaven.za.net port 1883
local_pethub | {'devices': [('Home hub', 1, '0000801F121D6719', 4, 0, None, None, None, None, None, None, None, None), ('Kitchen', 3, 'D98122FEFFEC1054', None, None, 0, '12:01', '12:02', 2, None, None, None, None)], 'pets': [('Ziva', 2, 'Kitchen', 3, 1), ('Jessie', 2, 'Kitchen', 3, 1)]}
local_pethub | Load Devices from pethublocal.db and init Home Assistant MQTT discovery configuration
local_pethub | Loading Hub: ('Home hub', 1, '0000801F121D6719', 4, 0, None, None, None, None, None, None, None, None)
local_pethub | Loading Pet Door: ('Kitchen', 3, 'D98122FEFFEC1054', None, None, 0, '12:01', '12:02', 2, None, None, None, None)
local_pethub | data published 1
local_pethub | data published 2
local_pethub | data published 3
local_pethub | data published 4
local_pethub | Door state 2
local_pethub | data published 5
local_pethub | data published 6
local_pethub | data published 7
local_pethub | data published 8
local_pethub | Load Pets from pethublocal.db and init Home Assistant MQTT discovery configuration
local_pethub | Loading Pet: Ziva for feeder Kitchen
local_pethub | data published 9
local_pethub | data published 10
local_pethub | Loading Pet: Jessie for feeder Kitchen
local_pethub | data published 11
local_pethub | data published 12
local_pethub | Subscribe to pethublocal and home assistant topics
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141a 07c0 132 117 321 6 01 0c 01 0c 02 01'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141a 07d0 132 118 36 1 04'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141b 07e0 132 119 40 1 02'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141b 07f0 132 120 519 6 02 0c 01 0c 02 01'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141e 0800 132 121 519 6 01 0c 01 0c 02 01'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141e 0810 132 122 36 1 00'
local_pethub | OnMessage pethublocal/messages/D98122FEFFEC1054 1 b'606b141e 0820 132 123 40 1 02'
This is msgs:
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 0650 132 99 483 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 0660 132 100 489 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 0670 132 101 495 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 0680 132 102 501 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 0690 132 103 507 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 06a0 132 104 513 6 01 0b 2d 0c 03 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108c 06b0 132 105 519 6 01 0c 01 0c 02 01
local_msgs | Apr 05 15:28:47 pethublocal/messages/D98122FEFFEC1054 606b108d 06c0 132 106 632 16 bc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
local_msgs | Apr 05 15:29:11 pethublocal/messages/D98122FEFFEC1054 606b10a4 06d0 132 107 33 3 95 0c 81
local_msgs | Apr 05 15:34:00 pethublocal/messages/D98122FEFFEC1054 606b11c5 06e0 8 20 0c 05 b2 00 00 00 00 00 00 00 01 4c
local_msgs | Apr 05 15:34:00 pethublocal/messages/D98122FEFFEC1054 606b11c5 06f0 132 108 621 9 0c 05 b2 00 00 00 00 00 00
local_msgs | Apr 05 15:34:57 pethublocal/messages 606b11fe 0700 132 109 54 3 03 4f 44
local_msgs | Apr 05 15:35:02 pethublocal/messages 606b1203 0710 132 110 54 3 02 50 41
local_msgs | Apr 05 15:35:08 pethublocal/messages/D98122FEFFEC1054 606b120c 0720 8 00 0c 06 61 00 0f 01 44 01 01 01 01 5d
local_msgs | Apr 05 15:35:08 pethublocal/messages/D98122FEFFEC1054 606b120c 0730 132 111 525 3 0c 06 61
local_msgs | Apr 05 15:35:19 pethublocal/messages/D98122FEFFEC1054 606b1217 0740 8 20 0c 07 b5 00 00 00 00 00 00 02 01 5f
local_msgs | Apr 05 15:35:19 pethublocal/messages/D98122FEFFEC1054 606b1217 0750 132 112 621 9 0c 07 b5 00 00 00 00 00 00
local_msgs | Apr 05 15:38:10 pethublocal/messages 606b12c2 0760 132 113 54 1 03
local_msgs | Apr 05 15:38:10 pethublocal/messages 606b12c2 0770 132 114 56 1 45
local_msgs | Apr 05 15:38:15 pethublocal/messages/D98122FEFFEC1054 606b12c7 0780 8 01 0c 0a 61 00 02 03 44 03 03 03 01 87
local_msgs | Apr 05 15:38:15 pethublocal/messages 606b12c7 0790 132 115 54 3 02 51 42
local_msgs | Apr 05 15:38:15 pethublocal/messages/D98122FEFFEC1054 606b12c7 07a0 8 01 0c 0a 81 00 0f 04 44 04 04 04 01 88
local_msgs | Apr 05 15:38:15 pethublocal/messages/D98122FEFFEC1054 606b12c7 07b0 132 116 528 3 0c 0a 81
local_msgs | Apr 05 15:43:54 pethublocal/messages/D98122FEFFEC1054 606b141a 07c0 132 117 321 6 01 0c 01 0c 02 01
local_msgs | Apr 05 15:43:54 pethublocal/messages/D98122FEFFEC1054 606b141a 07d0 132 118 36 1 04
local_msgs | Apr 05 15:43:55 pethublocal/messages/D98122FEFFEC1054 606b141b 07e0 132 119 40 1 02
local_msgs | Apr 05 15:43:55 pethublocal/messages/D98122FEFFEC1054 606b141b 07f0 132 120 519 6 02 0c 01 0c 02 01
local_msgs | Apr 05 15:43:58 pethublocal/messages/D98122FEFFEC1054 606b141e 0800 132 121 519 6 01 0c 01 0c 02 01
local_msgs | Apr 05 15:43:58 pethublocal/messages/D98122FEFFEC1054 606b141e 0810 132 122 36 1 00
local_msgs | Apr 05 15:43:59 pethublocal/messages/D98122FEFFEC1054 606b141e 0820 132 123 40 1 02
Actually looking at it again…it thinks I have a pet feeder? But I only have a pet door and 2 pets on the door currently.
The DB looks ok though…
sqlite> select * from devices;
0000801F121D6719|1|Home hub|H004-0088731||||{"device": {"hardware": 3, "firmware": 2.43}}
D98122FEFFEC1054|3|Kitchen||4.9566|-70.16666666666667|-73.8|{"lcd": {"hardware": 1, "firmware": 1}, "rf": {"hardware": 4, "firmware": 0.16}}
sqlite> select * from doors;
D98122FEFFEC1054|0|12:01|12:02|2
sqlite> select * from feeders;
sqlite> select * from hubs;
0000801F121D6719|4|0
sqlite> select * from pets;
711033360D00|Ziva|2