Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,


as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.


As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!



Smart Home Forum by FIBARO Team

Search the Community

Showing results for tags 'lua script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie


  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL





Found 3 results

  1. I have bought an UradMonitor A3. (www.uradmonitor.com) This is a sensor system that provides readings of: Temperature Pressure Humidity VOC PM2.5 Formaldehyde Carbon Dioxide γ,x-rays I know some have connected it to Homeseer, but have anyone connected it to the Fibaro system? It can provide readings over wifi and via the internet. Anyone that know how this unit can be implemented into the Fibaro system? Would like the current values from the UradMonitor in HC2, so it can be used in scenes. I think this is the homeseer code: Imports System.Web.Script.Serialization Sub Main(ByVal Parm As Object) hs.WriteLog("uRad Data Retrive Started", "(uRad_data.vb script) Scripting is OK and is now running uRad_data.vb") Try Dim InputString as String InputString = hs.GetURL("IP_Address","/j",TRUE,80) Dim json As New JavaScriptSerializer Dim dataObj As jsonStructure = json.Deserialize(Of jsonStructure)(InputString) ' {"data":{ "id":"8200000C","type":"8","detector":"SI29BG","voltage":380,"cpm":17,"temperature":33.78,"humidity":33.00,"pressure":99968,"voc":244751,"co2":467,"ch2o":0.03,"pm25":1,"uptime": 181416}} hs.writelog("id", dataObj.data.id) hs.writelog("type", dataObj.data.type) hs.writelog("detector", dataObj.data.detector) hs.writelog("cpm", dataObj.data.cpm) hs.writelog("temperature", dataObj.data.temperature) hs.writelog("humidity", dataObj.data.humidity) hs.writelog("pressure", dataObj.data.pressure) hs.writelog("voc", dataObj.data.voc) hs.writelog("co2", dataObj.data.co2) hs.writelog("ch2o", dataObj.data.ch2o) hs.writelog("pm25", dataObj.data.pm25) hs.writelog("uptime", dataObj.data.uptime) hs.SetDeviceValueByRef(473, dataObj.data.cpm, True) hs.SetDeviceValueByRef(474, dataObj.data.voc, True) hs.SetDeviceValueByRef(2360, dataObj.data.pm25, True) Catch ex As Exception : hs.writelog("Urad Test Script", "Error: " & ex.Message.ToString) End Try hs.WriteLog("uRad Data Retrive Finished", "(uRad_data.vb script) Scripting is OK and has now finished uRad_data.vb") End Sub Public Class jsonStructure Public data As data End Class Public Class data Public Property id As String Public Property type As String Public Property detector As String Public Property cpm As Integer Public Property temperature As Decimal Public Property humidity As Decimal Public Property pressure As Integer Public Property voc As Integer Public Property co2 As Integer Public Property ch2o As Decimal Public Property pm25 As Integer Public Property uptime As Double End Class
  2. I like to control my sunscreen and robotmower depending the weather type. so sunscreen out when is clear not clouded sunscreen in when it will be going to rain. robotmower will be out when it is not going to rain or raining how can i link this to my scenes hendo
  3. Hi all, Is it possible to adjust a device parameter through a LUA script? Best regards, Mark
  • Create New...