Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
D

Donato

@Donato
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
About
Posts
39
Topics
2
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    @akbooer

    here in the community app in the reply box

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    @akbooer

    in my actual user_data file double quotes are preceded by \.

    when I paste the file as text and submit the reply here the \ symbol is eliminated .

    Following I paste as code :

    "StartupCode":"\n-- You can personalise the installation by changing these attributes,\n-- which are persistent and may be removed from the Startup after a reload.\nlocal attr = luup.attr_set\n\n-- Geographical location\nattr (\"City_description\", \"Rome\")\nattr (\"Country_description\", \"Italy\")\nattr (\"Region_description\", \"Lazio\")\nattr (\"latitude\", \"51.48\")\nattr (\"longitude\", \"0.0\")\n\n-- other parameters\nattr (\"TemperatureFormat\", \"C\")\nattr (\"PK_AccessPoint\", \"99000007\")\nattr (\"currency\", \"£\")\nattr (\"date_format\", \"dd/mm/yy\")\nattr (\"model\", \"Not a Vera\")\nattr (\"timeFormat\", \"24hr\")\n\n-- Any other startup processing may be inserted here...\nluup.log \"startup code completed\"\n\n",
    
    

    sorry for my error

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    @akbooer

    attached a copy of startup lua

    startlua.png

    and the few lines around the error :

    "Mode":"1",
    "ModeSetting":"1:DC*;2:DC*;3:DC*;4:DC*",
    "PK_AccessPoint":"99000007",
    "Region_description":"Lazio",
    "ShutdownCode":"",
    "StartupCode":"\n-- You can personalise the installation by changing these attributes,\n-- which are persistent and may be removed from the Startup after a reload.\nlocal attr = luup.attr_set\n\n-- Geographical location\nattr ("City_description", "Rome")\nattr ("Country_description", "Italy")\nattr ("Region_description", "Lazio")\nattr ("latitude", "51.48")\nattr ("longitude", "0.0")\n\n-- other parameters\nattr ("TemperatureFormat", "C")\nattr ("PK_AccessPoint", "99000007")\nattr ("currency", "£")\nattr ("date_format", "dd/mm/yy")\nattr ("model", "Not a Vera")\nattr ("timeFormat", "24hr")\n\n-- Any other startup processing may be inserted here...\nluup.log "startup code completed"\n\n",
    "TemperatureFormat":"C",
    "ThousandsSeparator":",",
    "currency":"£",
    "date_format":"dd/mm/yy",

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    @a-lurker

    the 176 line above is inside the user_data file and every parameter is separated by "," . Following some lines around 176 :

    "Region_description":"Lazio",
    "ShutdownCode":"",
    "StartupCode":"\n-- You can personalise the installation by changing these attributes,\n-- which are persistent and may be removed from the Startup after a reload.\nlocal attr = luup.attr_set\n\n-- Geographical location\nattr ("City_description", "Rome")\nattr ("Country_description", "Italy")\nattr ("Region_description", "Lazio")\nattr ("latitude", "51.48")\nattr ("longitude", "0.0")\n\n-- other parameters\nattr ("TemperatureFormat", "C")\nattr ("PK_AccessPoint", "99000007")\nattr ("currency", "£")\nattr ("date_format", "dd/mm/yy")\nattr ("model", "Not a Vera")\nattr ("timeFormat", "24hr")\n\n-- Any other startup processing may be inserted here...\nluup.log "startup code completed"\n\n",
    "TemperatureFormat":"C",
    "ThousandsSeparator":",",

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    @akbooer

    This is the line 176 of User_Data Json file :

    "StartupCode":"\n-- You can personalise the installation by changing these attributes,\n-- which are persistent and may be removed from the Startup after a reload.\nlocal attr = luup.attr_set\n\n-- Geographical location\nattr ("City_description", "Rome")\nattr ("Country_description", "Italy")\nattr ("Region_description", "Lazio")\nattr ("latitude", "51.48")\nattr ("longitude", "0.0")\n\n-- other parameters\nattr ("TemperatureFormat", "C")\nattr ("PK_AccessPoint", "99000007")\nattr ("currency", "£")\nattr ("date_format", "dd/mm/yy")\nattr ("model", "Not a Vera")\nattr ("timeFormat", "24hr")\n\n-- Any other startup processing may be inserted here...\nluup.log "startup code completed"\n\n",

    I modify these parameter through the console openluup app and these are the values :

    -- You can personalise the installation by changing these attributes,
    -- which are persistent and may be removed from the Startup after a reload.
    local attr = luup.attr_set

    -- Geographical location
    attr ("City_description", "Rome")
    attr ("Country_description", "Italy")
    attr ("Region_description", "Lazio")
    attr ("latitude", "51.48")
    attr ("longitude", "0.0")

    -- other parameters
    attr ("TemperatureFormat", "C")
    attr ("PK_AccessPoint", "99000007")
    attr ("currency", "£")
    attr ("date_format", "dd/mm/yy")
    attr ("model", "Not a Vera")
    attr ("timeFormat", "24hr")

    -- Any other startup processing may be inserted here...
    luup.log "startup code completed"

    Is there any error ?

    tnks

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    D Donato

    Hi akbooer,

    sometimes openluup restore the file user_data.json to the default and I need to restore the configured one. I notice in the LuaUPnP_startup.log these msgs :

    2024-07-18 07:46:19.585   :: openLuup STARTUP :: /etc/cmh-ludl
    2024-07-18 07:46:19.586   openLuup.init::        version 2022.11.28  @akbooer
    2024-07-18 07:46:19.595   openLuup.scheduler::   version 2021.03.19  @akbooer
    2024-07-18 07:46:19.723   openLuup.io::          version 2021.03.27  @akbooer
    2024-07-18 07:46:19.723   openLuup.mqtt::        version 2022.12.16  @akbooer
    2024-07-18 07:46:19.727   openLuup.wsapi::       version 2023.02.10  @akbooer
    2024-07-18 07:46:19.727   openLuup.servlet::     version 2021.04.30  @akbooer
    2024-07-18 07:46:19.727   openLuup.client::      version 2019.10.14  @akbooer
    2024-07-18 07:46:19.729   openLuup.server::      version 2022.08.14  @akbooer
    2024-07-18 07:46:19.737   openLuup.scenes::      version 2023.03.03  @akbooer
    2024-07-18 07:46:19.750   openLuup.chdev::       version 2022.11.05  @akbooer
    2024-07-18 07:46:19.750   openLuup.userdata::    version 2021.04.30  @akbooer
    2024-07-18 07:46:19.751   openLuup.requests::    version 2021.02.20  @akbooer
    2024-07-18 07:46:19.751   openLuup.gateway::     version 2021.05.08  @akbooer
    2024-07-18 07:46:19.757   openLuup.smtp::        version 2018.04.12  @akbooer
    2024-07-18 07:46:19.764   openLuup.historian::   version 2022.12.20  @akbooer
    2024-07-18 07:46:19.764   openLuup.luup::        version 2023.01.06  @akbooer
    2024-07-18 07:46:19.767   openLuup.pop3::        version 2018.04.23  @akbooer
    2024-07-18 07:46:19.768   openLuup.compression:: version 2016.06.30  @akbooer
    2024-07-18 07:46:19.768   openLuup.timers::      version 2021.05.23  @akbooer
    2024-07-18 07:46:19.769   openLuup.logs::        version 2018.03.25  @akbooer
    2024-07-18 07:46:19.769   openLuup.json::        version 2021.05.01  @akbooer
    2024-07-18 07:46:19.774   luup.create_device:: [1] D_ZWaveNetwork.xml /  /    ()
    2024-07-18 07:46:19.774   openLuup.chdev:: ERROR: unable to read XML file I_ZWave.xml
    2024-07-18 07:46:19.800   luup.create_device:: [2] D_openLuup.xml / I_openLuup.xml / D_openLuup.json   (openLuup)
    2024-07-18 07:46:19.800   openLuup.init:: loading configuration user_data.json
    2024-07-18 07:46:19.801   openLuup.userdata:: loading user_data json...
    2024-07-18 07:46:19.805   openLuup.userdata:: JSON decode error @[8173 of 8192, line: 176] unterminated string
       ' = luup.attr_set\n\n   <<<HERE>>>   -- Geographical loca'
    2024-07-18 07:46:19.805   openLuup.userdata:: ...user_data loading completed
    2024-07-18 07:46:19.805   openLuup.init:: running _openLuup_STARTUP_
    2024-07-18 07:46:19.805   luup_log:0: startup code completed
    2024-07-18 07:46:19.806   openLuup.init:: init phase completed
    2024-07-18 07:46:19.806   :: openLuup LOG ROTATION :: (runtime 0.0 days)
    

    Is this a my error in some configuration files ?

    tnks

    openLuup

  • Openluup: Datayours
    D Donato

    Hi akbooer,

    excuse me for late answer. Tnks for your precious support as usual.
    I'll test your code asap.
    A question for my clarity: does the routine register only a value every minute in the whisper file (average of values in a minute) ? Are the different values in a minute momentarily memorized in a DY cache ?

    tnks

    Plugins

  • Openluup: Datayours
    D Donato

    Yes, but all the variables with the name "Variable" (local target = "Variable")

    Plugins

  • Openluup: Datayours
    D Donato

    In my installation sensors measure at least a value every 20/30s (in my case is electric power) and I'd like to register the average value every minute (if possible).
    Can I change the retention schemas of the actual whisper files without loosing the actual data or do I have to start from zero?

    Over hour and daily period the aggregation is different for the whisper files created by L_DataUser routine :

    [Power_Daily_DataWatcher]
    pattern = .kwdaily
    xFilesFactor = 0
    aggregationMethod = sum
    [Power_Hourly_DataWatcher]
    pattern = .kwhourly
    xFilesFactor = 0
    aggregationMethod = sum
    [Power_MaxHourly_DataWatcher]
    pattern = .kwmaxhourly
    xFilesFactor = 0
    aggregationMethod = max

    For the "Variable" whisper files seems correct the average calculation for 5m, 10m, 1h .. etc based on :

    retentions = 1m:1d,5m:90d,10m:180d,1h:2y,1d:10y

    and the value registered every minute.

    Plugins

  • Openluup: Datayours
    D Donato

    Hi akbooer,

    tnks now things is going well for me too.

    You wrote for me the following L_DataUser.lua that I'm using :

    local function run (metric, value, time) 
    
      local target = "Variable"
      local names = {"kwdaily", "kwhourly", "kwmaxhourly"}
    
      local metrics = {metric}
      for i, name in ipairs (names) do
        local x,n = metric: gsub (target, name)
        metrics[#metrics+1] = n>0 and x or nil
      end
    
      local i = 0
     
      return function ()
        i = i + 1
        return metrics[i], value, time
      end
    end
    
    return {run = run}
    

    that write for every value of "Variablex" variable to other whisper files with different aggregation and schemas.

    Plugins

  • Openluup: Datayours
    D Donato

    Hi akbooer,
    i hope all is well.

    I've a question about datayours and the aggregation e schemas parameters.
    I've these configurations :

    1. aggregation :
      [Power_Calcolata_Kwatt]
      pattern = .Variable
      xFilesFactor = 0
      aggregationMethod = average

    2. schemas:
      [Power_Calcolata_Kwatt]
      pattern = .Variable
      retentions = 1m:1d,5m:90d,10m:180d,1h:2y,1d:10y

    In the cache history of openluup console for example i see these values :

    2024-06-27 09:17:57 46.73
    2024-06-27 09:17:25 16.55

    and in the whisper file (it contains a point every minute) i see :

    1719472620, 46.73 (17119472620 is 09.17 time for my zone)

    It seems that is considered the last value and not the average of two value registered at 9.17 time.

    Is it correct ?

    tnks

    donato

    Plugins

  • Openluup: Datayours
    D Donato

    @akbooer
    Hi akbooer, I've simulated on a test installation a network outage of the remote DY and I've produced two sets of whisper files : one updated (remote DY) and the other one to update (central DY) if possible with a routine similar to Whisper-fill.py from Graphite tool.
    In the files I'll send you by email you find :

    1. whisper file Updated ;
    2. whisper file To Update ;
    3. L_DataUser.lua used for both that processes and creates different metric names;
    4. Storage-aggregation.conf and Storage-schema.conf files.
      I remain at your disposal for any clarification.

    tnks

    donato

    Plugins

  • Openluup: Datayours
    D Donato

    @akbooer excuse me how can i send you the schema ?

    Plugins

  • Openluup: Datayours
    D Donato

    @akbooer
    a stand-alone command line utility is ok possibly with the option to indicate a date interval. The files to fill for a remote DY may be more than one all with the same Openluup/Whisper ID.
    At the moment I haven't an example of files to fill . I'll simulate a network outage so I produce the files.

    Can I send you meanwhile the schema to verify if the openluup/DY configuration remote and centralized are correct (destinations, udp receiver ports, line receiver port)

    tnks

    donato

    Plugins

  • Openluup: Datayours
    D Donato

    Hi akbooer,

    I've an installation with a centralized openluup/DY on Debian 11 where're archived and consolidated several remote openluup/DY on RPI. I'm also using a user-defined (defined with your support) "DataUser.lua" to process metrics and creating different metric names. I've a schema of this configuration but I can't upload on forum.
    I'd like to manage outage network connections between remote and centralized system while the remote DY is running and archives data locally.
    I see the whisper-fill.py python routine (https://github.com/graphite-project/whisper/blob/master/bin/whisper-fill.py) from Graphite tool. I know that DY/whisper format is different from Graphite/whisper (CSV vs. binary packing), but based on your deep knowledge and experience is it hard to adapt the fill routine to DY/whisper format ?

    tnks

    donato

    Plugins

  • Unexpected stop of openLuup
    D Donato

    tnks akbooer for your fix.

    About VPN, my server is on a cloud hosting and the web app is accessed by authenticated users so I suppose the only solution is to activate some fw rule on the openluup/datayours server.

    openLuup

  • Unexpected stop of openLuup
    D Donato

    Hi akbooer,

    in order to set firewall rules can you give me some info on the openluup log records ? Following there are few normal log lines of datayours read/write :

    2022-08-13 12:52:21.921 luup.variable_set:: 4.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 6568 now: 6871 #hooks:0
    2022-08-13 12:52:26.570 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c474b0348
    2022-08-13 12:52:26.571 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=-2h&format=json HTTP/1.1 tcp{client}: 0x556c474b0348
    2022-08-13 12:52:26.571 luup_log:4: DataGraph: Whisper query: CPU = 0.405 mS for 121 points
    2022-08-13 12:52:26.572 openLuup.server:: request completed (3359 bytes, 1 chunks, 1 ms) tcp{client}: 0x556c474b0348
    2022-08-13 12:52:26.572 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c474b0348
    2022-08-13 12:52:26.574 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c47810548
    2022-08-13 12:52:26.574 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=2022-08-13T00:00&format=json HTTP/1.1 tcp{client}: 0x556c47810548
    2022-08-13 12:52:26.576 luup_log:4: DataGraph: Whisper query: CPU = 2.085 mS for 773 points
    2022-08-13 12:52:26.580 openLuup.server:: request completed (20228 bytes, 2 chunks, 6 ms) tcp{client}: 0x556c47810548
    2022-08-13 12:52:26.581 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c47810548
    2022-08-13 12:52:35.363 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c4756a4b8
    2022-08-13 12:52:35.364 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=-2h&format=json HTTP/1.1 tcp{client}: 0x556c4756a4b8
    2022-08-13 12:52:35.364 luup_log:4: DataGraph: Whisper query: CPU = 0.418 mS for 121 points
    2022-08-13 12:52:35.366 openLuup.server:: request completed (3359 bytes, 1 chunks, 1 ms) tcp{client}: 0x556c4756a4b8
    2022-08-13 12:52:35.366 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c4756a4b8
    2022-08-13 12:52:35.368 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c47294958
    2022-08-13 12:52:35.368 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.kwdaily3&from=2016-07-01&format=json HTTP/1.1 tcp{client}: 0x556c47294958
    2022-08-13 12:52:35.375 luup_log:4: DataGraph: Whisper query: CPU = 6.521 mS for 2235 points
    2022-08-13 12:52:35.392 openLuup.server:: request completed (62445 bytes, 4 chunks, 23 ms) tcp{client}: 0x556c47294958
    2022-08-13 12:52:35.397 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c47294958
    2022-08-13 12:52:35.398 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c47158248
    2022-08-13 12:52:35.398 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=2022-08-13T00:00&format=json HTTP/1.1 tcp{client}: 0x556c47158248
    2022-08-13 12:52:35.401 luup_log:4: DataGraph: Whisper query: CPU = 2.409 mS for 773 points
    2022-08-13 12:52:35.406 openLuup.server:: request completed (20228 bytes, 2 chunks, 7 ms) tcp{client}: 0x556c47158248
    2022-08-13 12:52:35.406 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c47158248
    2022-08-13 12:53:26.581 openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}: 0x556c4877f9d8
    2022-08-13 12:53:26.581 openLuup.server:: GET /data_request?id=lr_render&target=Vera-yyyyyyyy.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=-2h&format=json HTTP/1.1 tcp{client}: 0x556c4877f9d8
    2022-08-13 12:53:26.582 luup_log:4: DataGraph: Whisper query: CPU = 0.735 mS for 121 points

    The read commands of whisper files are all of kind "http://server-ip:3480......."

    the following log record :
    openLuup.io.server:: HTTP:3480 connection from xx.xx.xx.xx tcp{client}
    is from a http read ?

    Can I see UDP write log record ?

    The write commands come from remote datayours through UDP to "server-ip" .

    All consolidated whisper files I read/write are on "server-ip".

    Is it correct in this scenario that all the regular and normal commands (read/write) must come from "server-ip" ?

    tnks

    openLuup

  • Unexpected stop of openLuup
    D Donato

    Hi akbooer,

    randomly openluup hangs but today I noticed in the log (attached) something strange :

    2022-08-13 12:54:35.283 openLuup.server:: GET /data_request?id=lr_render&target=Vera-45108342.024.urn:upnp-org:serviceId:VContainer1.Variable3&from=2022-08-13T00:00&format=json HTTP/1.1 tcp{client}: 0x556c471741f8
    2022-08-13 12:54:35.286 luup_log:4: DataGraph: Whisper query: CPU = 2.068 mS for 775 points
    2022-08-13 12:54:35.289 openLuup.server:: request completed (20282 bytes, 2 chunks, 6 ms) tcp{client}: 0x556c471741f8
    2022-08-13 12:54:35.290 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x556c471741f8
    2022-08-13 12:54:57.889 openLuup.io.server:: HTTP:3480 connection from 92.255.85.183 tcp{client}: 0x556c482cf138
    2022-08-13 12:54:57.889 openLuup.server:: /*: mstshash=Administr tcp{client}: 0x556c482cf138
    2022-08-13 12:54:57.889 openLuup.context_switch:: ERROR: [dev #0] ./openLuup/server.lua:238: attempt to concatenate local 'method' (a nil value)
    2022-08-13 12:54:57.889 luup.incoming_callback:: function: 0x556c4753ff20 ERROR: ./openLuup/server.lua:238: attempt to concatenate local 'method' (a nil value)

    at 12:54 openluup stopped to write and read the datayours files

    Is a possible attack ?

    openLuup

  • Help with Z-Way plugin
    D Donato

    Hi akbooer,

    I've defined in z-way controller a Virtual Device (a virtual binary switch) but I can't see it on openluup with z-way plugin installed while I can see a real switch.

    Is it correct ? Are the z-way virtual device using different API not implemented in openluup ?

    tnks

    donato

    Zway Bridge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved