Comments (9)
more information:
I tried to request following REST API for indi web manager.
get http://smdev.local:8624/api/drivers
I found following two definition of "Astroberry System" in response body.
{
"name": "Astroberry System",
"label": "Astroberry System",
"skeleton": null,
"version": "2.10",
"binary": "indi_astroberry_system",
"family": "Auxiliary",
"custom": false,
"role": ""
},
{
"name": "",
"label": "Astroberry System",
"skeleton": null,
"version": "1.0",
"binary": "",
"family": "Auxiliary",
"custom": true,
"role": ""
},
from indiwebmanager.
The system just reads whatever XML files are in /usr/share/indi so you probably have both in there?
from indiwebmanager.
There is only one indi_astroberry_system.xml in /usr/share/indi.
And no difinition about 'astroberry system' in drivers.xml.
Please see after the screenshot in the link below.
#53 (comment)
There are directory listing, driver.xml and indi_astroberry_system.xml.
from indiwebmanager.
I found the cause of this issue.
"Astroberry System" is registered in the following two places and is shown in the driver list of indi web manager.
- /usr/share/indi/indi_astroberry_system.xml
- "custom" table in ~/.indi/profiles.db (Fig.1)
By the way, where are Custom Drivers stored in Kstars 3.6.1 for StellarMateOS?
I believe the aforementioned "custom" table in ~/.indi/profiles.db was set up by me in a past version of KStars.
However, in the current 3.6.1, none of the Custom Drivers are defined in the Custom Drivers dialog (Fig. 2).
Is there any way to edit the "custom" table in ~/.indi/profiles.db from Kstars?
from indiwebmanager.
Hi @knro
KStars 3.6.1 registers custom driver information in table customdrivers in ~/.local/share/kstars/userdb.sqlite
.
However, indiwebmanager retrieves custom driver information from table custom in ~/.indi/profiles.db
.
Therefore, custom drivers registered with old KStars are displayed in the driver list of indiwebmanager.
On the other hand, custom drivers registered with KStars 3.6.1 are not displayed in indiwebmanager.
I should change the title of this Isseu.
from indiwebmanager.
I have read a little indiwebmanager code.
Am I correct in understanding that when INDI Web Manager
in KStars Profile Editor is checked, the Custom Driver used in the profile is added to the table custom in profiles.db
?
Is there a way to delete a custom driver registered in table custom?
from indiwebmanager.
Custom drivers should be synced from the client to web manager. Maybe the web manager is bugged and does not reflect all the custom drivers?
from indiwebmanager.
It probably works according to the indiwebmanager specification.
I believe that the following is the reality of this issue, which I did when I did not know much about Custom Driver.
On Windows11
- Register Custom Driver in KStars (I used to check INDI Web Manager in Profile Editor. Now it is not checked)
On StellarMate OS:
- Custom Driver is not registered in KStars
- indiwebmanager registered Custom Driver for Kstars on Windows in ~/.indi/profiles.db.
- I also registered drivers in /usr/share/indi in xml format
The following behavior may be difficult to understand as a specification
- It is not clear where and when indiwebmanager's Custom Driver was added.
- I do not know how to delete Custom Driver of indiwebmanager. (I deleted it directly in sqlite)
For example, how about the following changing ?
- Add/delete each Custom Driver from KStars to/from indiwebmanager manually.
- The driver list in indiwebmanager shows that it is a Custom Driver and the KStars from which it was registered.
from indiwebmanager.
Hi @knro
You may close it as it behaves as specified.
I would be happy if you could improve the specifications to make it easier to use the custom driver settings.
from indiwebmanager.
Related Issues (20)
- Device recognition HOT 2
- indiweb not starting HOT 1
- Distant driver and config file
- Driver Aliases HOT 13
- Solved : command 'arm-linux-gnueabihf-gcc' failed with exit status 1 HOT 1
- bootstrap-confirmation.min.js missing HOT 2
- Test & Release v0.1.6 on pip HOT 2
- Add support for ser2net HOT 5
- indi-web hangs when indiserver can't start due to port conflict HOT 1
- Reboot and PowerOff options in indi-web HOT 1
- hardcoded INDI_DATA_DIR variable
- Indi-server startup command line options should be configurable HOT 3
- Does not display the 3rd party app indi_rpicam HOT 4
- Fails to install HOT 1
- Running indilib with default configuration HOT 4
- --conf option for Indiserver does not load expected config HOT 2
- Missing /usr/share/indi/indi_rpicam.xml HOT 2
- Errror: Failed to start profile on remote INDI Web Manager (cannot start profile)
- Stoping driver through indiwebmanager API leaves some dangling process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indiwebmanager.