Tom Eilers Posted Monday at 07:20 PM Report Posted Monday at 07:20 PM I have a Homewizard P1 meter, from which I want to read only the power in Watt with LabView. There API version 2 see: https://helpdesk.homewizard.com/en/articles/5935977-integrating-energy-with-other-systems-api uses HTTPS. They have an example to read the P1 with curl (curl https://<IP ADDRESS>/api/measurement --insecure -H "Authorization: Bearer EXAMPLE-TOKEN". With system exec I can read the P1 meter values. My question is it possible to do this in pure LabView HTTP Get/Set and Header vi's and How. In my case I use url: https://192.168.178.109/api/measurement --insecure -H "Authorization: Bearer 010183D11FD0A5F08990D911BBFF3995" P1 meter API v2.vi Quote
Phillip Brooks Posted 1 hour ago Report Posted 1 hour ago You can add the Header to your session handle prior to making the endpoint query. An example can be found here: Re: Not able to connect to a web server - NI Community Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.