|
Post by riffelrw on Apr 24, 2022 5:11:04 GMT -8
When using SG configuration utility to assign a bluetooth sensor, when I try and select the extender for the sensor (I have only one), when I pick it the system erases the button and "enter name" dialog, doesn't assign it, and goes right back to the screen with no assignment made. Is there something specific i need to do, or can I just edit the JSON file by hand to make the assignment? Either is fine with me, I'd just need the syntax of the JSON entry for the assignment. The images show just before I click to pick the extender, with a follow on image after I pick the single extender in the system. No change and the SG3 status page show no assignment made when I restart it. Attachments:

|
|
0_0
Full Member
 
Posts: 114
Raspberry Pi: Yes
Other Device: PC, Arduino, ESP32
|
Post by 0_0 on Apr 24, 2022 14:02:57 GMT -8
I did it through phpmyadmin 'http://yourRPiIPAddress/phpmyadmin'
default login: root password
|
|
|
Post by riffelrw on Apr 24, 2022 18:07:52 GMT -8
Thats what I did as well - just added the last 4 digits of the MAC address (no ":") and it worked fine.
|
|
|
Post by glurtis on Jul 11, 2022 13:42:37 GMT -8
It has been quite awhile since I was in a database. What tables are you editing to add the MAC?
|
|
0_0
Full Member
 
Posts: 114
Raspberry Pi: Yes
Other Device: PC, Arduino, ESP32
|
Post by 0_0 on Jul 12, 2022 18:53:56 GMT -8
DB: SmartGarden3 Table: BluetoothSensors Column: fullAddress Note: repeat the last four digits in column: pickaddress E.g; ID: *autoassigned* fullAddress: C4:7C:  :6E:0D:DD pickAddress: 0D:DD assignedWirelessID: Your extenders four-digit address, it will be on the front display of the extender name: whatever you want it to be [Go] I'll check back in tomorrow to see if it went ok for you. Good luck, ~S
|
|
|
Post by riffelrw on Jul 14, 2022 14:10:52 GMT -8
Hi, yes it did well - got it running with the manual addition.
Rich
|
|