Comments (4)
Yes, this is a code library for use in other C# applications using Visual Studio.
If you want to open this project and view or edit the source code, you will need Visual Studio 2019. VS2017 might work, but I have not tested it. Since it's free, why not update to 2019?
from hadotnet.
Hello,
you won't have any demo projects to see how it works.
Thanks a lot, Víctor.
from hadotnet.
Yes, that's correct. Issue #6 is being tracked, we will be adding code samples for how to use this library soon. For now, you can refer to the readme file on the repo's homepage for some lightweight samples.
from hadotnet.
I'm have a problem getting it to work
this is what I have, i'm using vb.net on VS2019
Imports HADotNet.Core
Imports HADotNet.Core.Clients
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
ClientFactory.Initialize("https://192.168.2.3:8123/", "qVXkpEkaQovdC9JT4LI_yqgfOlQU")
SurroundingSub()
End Sub
Private Async Sub SurroundingSub()
Dim configClient = ClientFactory.GetClient(Of ConfigClient)()
Dim config = Await configClient.GetConfiguration()
' config.LocationName: "Home"
' config.Version: 0.96.1
End Sub
End Class
I get an error 'System.NullReferenceException: 'Object reference not set to an instance of an object.'
What have I done wrong?
from hadotnet.
Related Issues (14)
- C# Friendly Entity Classes
- HADotNet stopped working after 0.118 update HOT 16
- ClientFactory.Initialize, how to check if connection is established ? HOT 1
- Issue with the Await and <EntityClient> HOT 3
- Deserializing array in attributes does not work HOT 1
- Unexpected response code 0 from Home Assistant API endpoint /api/states. HOT 2
- Exposing RestClient or adding helper methods (solves client certificate auth) HOT 3
- TLS 1.3 - Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'. HOT 2
- Exception: Unexpected response code 404 from Home Assistant API endpoint /api/states/. HOT 1
- Error deserializing /API/SERVICES HOT 3
- Update Documentation and Add Code Examples
- Read /api/stream to receive server events HOT 3
- Donation 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 hadotnet.