-
Notifications
You must be signed in to change notification settings - Fork 70
network doesn't display icons for devices on first load #91
Comments
I would like to contribute here. Would appreciate if you could help with a few more details. I setup the project and tried the bulb-padjs example successfully. For a device to appear in the network, will I actually need a physical device? or is there a way to simulate? Thanks. |
Hi @ankitkhedekar, sounds great. It must work with simulated devices also. This is the file on the frontend where the magic happens https://github.com/netbeast/dashboard/blob/master/public/components/devices/index.jsx This is by the way, where the bug probably lays. If you know something about react it should be easy. Below here I would explain the Dashboard logic for the task, that may not be needed. If you have any doubts about front-end building, please ask on this issue :) The devices rendered are the ones that are last emitted on the
The scanner on the backend is this file: https://github.com/netbeast/dashboard/blob/master/src/services/scanner.js. The logic is the following: installed plugins that detect devices connected are pushed to the SQLite database, then retrieved via It can happen that the resources are not correctly set up – in that case we must debug the SQLite database and test with plugins to see if the error is out there. Thanks for your interest, count on us for anything! |
My initial thoughts: The scanner initially emits devices list on Please advice if I am going in the right direction. |
Sounds a 100% right hypothesis, we can test it out. We can go to the scanner https://github.com/netbeast/dashboard/blob/master/src/services/scanner.js and make it subscribe to the network topic |
Requires to refresh page to display.
The text was updated successfully, but these errors were encountered: