-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of ability to add new entities? #99
Comments
If you can point us to documentation on how to do that, sure. We'll look at adding it. At the moment, the only way I know of in nHaystack to edit the asset model is via the workbench, and I have no idea how entities get into SkySpark. The only implementation that I know of which supports this is WideSky. |
Related issue: #74 |
@sjlongland You are probably right. I will reach out to SkySpark and see if it is even possible per #74 I'll close this issue for now |
Follow up to this, I was able to add new equipment points to our skyspark server using:
and then passing the grid to PyHaystack's protected _post_grid method:
I added measurement points in the same way:
where method is 'add' |
This is an interesting development indeed. To achieve parity with what WideSky permits, we'd need the ability to:
If we can do those things, say via |
I have had success mutating existing entities in SkySpark using: We actually just ran into a use case where it would've been convenient to delete entities using |
I like that, it adds a nice scripting possibility to pyhaystack. |
Hey All,
Ran into this:
pyhaystack/pyhaystack/client/entity/model.py
Line 61 in 3c35082
Is it possible to add new entitles to SkySpark with pyhaystack? Looking to automate the process of adding equipment and sensor points.
Thanks!
The text was updated successfully, but these errors were encountered: