Find answers, ask questions and become part of the Loxone Community.
Hi there, I’m trying to POST a message to an external server with values regarding realtime PV production. I have setup a Virtual Http Output to do this as follows:
Virtual Http Output:
Address: https://api.solcast.com.au/rooftop_sites/{redacted}
Virtual Output Command:
Command for ON: /measurements?api_key={redacted}
HTTP Extensions for ON: Content-Type: application/json
HTTP POST Command for ON: <v>
HTTP Method for ON: POST
Save HTTP reply: /user/common/SolCast.xml
I am triggering the Virtual Output Command from a Status block which composes the json message to be posted and should be being picked up by the ‘<v>’ in ‘HTTP POST Command for ON’, if I understand correctly. I’ve also understood from other questionss here that ‘HTTP Extensions for ON’ is where I should place HTTP headers that I want the POST to use, hence the ‘Content-Type: application/json’ value used there.
I also have the Virtual Output Command hooked up to a syslog-ng server, and I can see that the Virtual Output Command is being triggered, and that the value of is the json message body that I want it to be.
The problem is, the post is not working, and there is no file /user/common/SolCast.xml on the miniserver, in fact the /user/common folder is empty.
I have replicated the above parameters using the Postman software, ie full address https://api.solcast.com.au/rooftop_sites/{redacted}/measurements?api_key={redacted}, with a Content-Type Header of application/json, and with a message body of the same message which is being used by the miniserver (picked up from the syslog-ng log), and the POST works perfectly.
I’m currently away from home for Christmas and the Loxone Monitor doesn’t work, neither when using Remote Connection, nor when using a VPN in my home network, so I can’t see what’s going on there.
Does anybody have any suggestions for taking this forward without Loxone Monitor, or for making Loxone Monitor work when connecting remotely or via VPN?
Thanks is advance for any help!
Ben
 | Monday | Tuesday | Wednesday | Thursday | Friday |
---|---|---|---|---|---|
0830-0900 | Welcome | Arrival and Exchange | Arrival and Exchange | Arrival and Exchange | Arrival and Exchange |
Unit 1 | Easy Lighting Planning Square meter formulas. Room types, Direct/Indirect |
Automatic Basic Lighting Presence Sensor Air/Tree |
Shading & Automation Controls vs Automation  configuration shading types |
Multiroom Audio System, scaling, simple audio planning |
Media controller IR and RS Protocols, AVR |
Unit 2 | Intuitive Operating Concept Room types & moods |
Presence Optimization Exercises by type of room |
System Protection Functions Storm, frost, privacy, break-in |
Cabling & Configuration Audioserver Extension speaker |
Operating Concept Specific Operating modes, Touch Pure Flex |
Unit 3 | Configuration Room Types Basic Configuration |
Presence Areas Practice P/1-8 |
Optimise Protection Functions Practical exercises by type |
Operation & Connections Line In/Out, SPDIF Signal converter |
Optimise Conference Room Control and programming |
1200 | Lunch Break | Lunch Break | Lunch Break | Lunch Break | Lunch Break & wrap up |
Unit 4 | Lighting Controller In-depth T5/1-8, lC1-4, M+/-, Mix |
Technologies Dali, DMX, PWM |
Weather & Sunshine Weather station & forecasts |
Smart Home Functions TTS, Announcements, Bell |
 |
Unit 5 | Operating Concept Advanced Exercise by type of room |
Daylight Control HCL Practical implementation |
Automatic Sun Position Control Protection types IR/UV/Lux |
HiFi and Ambient Sound Signum and Install 7 |
 |
Unit 6 | Operating Concept Specific     Hotel, Office, Auditorium | Constant Light Control Measurement, control, implementation |
Automatic Sun Position Control Optimization of parameters |
Acoustics & Sound Optimization   Optimize audio planning |  |
Unit 7 | Touch Pure Flex Scrolling text, master brightness |
Signalization via Light Practice example |
Operating Concept Specific Practical examples | Audioserver in combination   Exercises Lan/Tree Turbo |  |
Booking Request for CPD
Please complete the following details as part of your request to book this CPD.
Once we have received your details, we will be in touch to discuss your request further.
From your first enquiry to the finishing touches on your project, Loxone and your Loxone Partner will be with you all the way. Benefit from the experience that we have gained through the realisation of over one hundred thousand projects worldwide to ensure your project exceeds your expectations.