Javi
Employees
-
Joined
-
Last visited
-
Currently
Viewing Topic: How to copy the program txt from web ui ?
Everything posted by Javi
-
ZMatter USB Firmware Update 7.32 to 7.46
The instruction was from my own Z-Wave upgrade, on mac so glad to hear it works on windows. Nothing was lost in my case, needed to fix long range bug.
-
How do I add a device to a scene?
Beta is stable, https://forum.universal-devices.com/topic/47042-eisy-ui-is-getting-there-heres-where-we-stand/
-
Equivalent of Java console
Also note this behavior 'Any items defined after the invalid one are silently lost'. Issue to improve is on our list. Problem Statement All three profile XML parsers (U7EditorParser, U7NodeDefParser, U7LinkDefParser) call pt.parseError*() methods on validation failures. Every parseError*() method calls stopParse(false), which aborts the entire file. Any items defined after the invalid one are silently lost.
-
Geofencing for Multiple Users with UD Mobile
See https://wiki.universal-devices.com/UD_Mobile#Occupancy_v2.0_Node_Server
-
Equivalent of Java console
Profile XML Parser Logging & Diagnostics === Log File Location === '''Primary log file:''' <code>/var/isy/FILES/LOG/debug.log</code> ---- '''Log message format:''' <pre> +[U7XmlParserTools::reportParseError ] ERROR: Parser EditorParser : Error 0 on Line {line}.{col} depth={depth} '{tagName}': Invalid Editor : Editor {ID} values are invalid or incomplete : [id='{id}' nls='{nls}' subset='(null}' uomId='{uom}' min='(null}' max='(null}' step='(null}' prec='(null}' desc='(null}'] </pre> '''REST response also contains the error''' — when calling <code>/rest/profiles/.../move</code>, the <code><message></code> element in the <code><RestResponse></code> XML will include the parse error text. ---- === Debug Subsystems === Defined in <code>ISY/src/u7/U7Debug.h</code> and <code>ISY/src/u7/U7Debug.cpp</code>: {| class="wikitable" ! Subsystem !! Name !! Default Level !! What It Logs |- | <code>nspu</code> || Node Server Profile Updater || 3 (all messages) || Editor/nodedef/linkdef parsing, file processing, transactions |- | <code>nsdb</code> || Node Server SQL Database || 2 (warn+err only) || Database operations, encoded editor sync |} Log level thresholds: * Level > 0: Errors (<code>_tnspuErr</code>, <code>_tnsdbErr</code>) * Level > 1: Warnings (<code>_tnspuWarn</code>, <code>_tnsdbWarn</code>) — includes transaction rollbacks * Level > 2: Info (<code>_tnspu</code>, <code>_tnsdb</code>) — includes file-by-file processing messages * Level > 3: Detail (<code>_tnspuDetail</code>, <code>_tnsdbDetail</code>) === Enabling Verbose Logging at Runtime === Use the REST trace endpoint to increase the debug level before triggering a profile move: <syntaxhighlight lang="bash"> # Enable verbose logging for profile updater (shows each file processed) curl http://{host}/rest/trace/nspu/4 # Enable verbose logging for database operations curl http://{host}/rest/trace/nsdb/4 # Then trigger the profile move curl http://{host}/rest/profiles/move/all?recreate=true # Check the log ssh admin@{host} "grep -i 'EditorParser\|Invalid Editor\|Rolling back' /var/isy/FILES/LOG/debug.log" </syntaxhighlight> === Diagnosing Missing Editors/NodeDefs/LinkDefs === <syntaxhighlight lang="bash"> # Search for parse errors in the log grep -i "Invalid Editor\|Invalid NodeDef\|Invalid LinkDef\|parseError\|Rolling back" /var/isy/FILES/LOG/debug.log # Search for the specific editor that caused the abort grep -i "values are invalid or incomplete" /var/isy/FILES/LOG/debug.log # Check which editors actually made it into the database sqlite3 /var/isy/FILES/CONF/NSDB/NSDB_{FFFF}_{IIII}.DB "SELECT editorId FROM Editor ORDER BY editorId;" </syntaxhighlight> === Editor Validation Rules (U7Editor::setFromCStrings) === The <code><range></code> element on an editor must satisfy one of: # A <code>subset</code> attribute (with no min/max/step/prec), OR # Both <code>min</code> and <code>max</code> attributes (with no subset) A <code><range></code> that satisfies neither condition fails with: <code>"Editor {ID} values are invalid or incomplete"</code>
-
Equivalent of Java console
Not available, the AC parsed at startup which caused long delays. This is now done whenever the profile changes in firmware instead of the UI. Edit: I tried uploading how to debug, but the forum/wiki are having issues with file upload. Will update soon.
- Slow Response
-
Admin Console
See https://wiki.universal-devices.com/Main_Page#On_Big_Sur,_Admin_Console_is_no_longer_a_separate_Window
-
How do I add a device to a scene?
This is changed in beta, to show a selection dialog instead.
-
Slow Response
If using beta repo for upgrades I would first verify the issue, is the status slow to update or is the program scene slow to execute. Open the event viewer on you phone before you walk into a room if the status change immediately and there is a delay then investigate that path. If status does not update immediately then investigate that path. For the latter, try removing the devices and specify long range (only available in beta) during inclusion. An alternative, if both devices support local linking add both as mesh in a scene (although this may cause other issues depending on your setup).
-
V1.3.11_1 Refresh in Programs makes search unusable
Programs are re-evaluating very frequency. Not an issue but is the cause. The programs list is scheduled for virtualization which will correct, but not sure on the time frame. All improvements to original grids/lists are deferred until virtualization is complete. This is also needed for mobile implementation so is high on the list.
-
Program To be Triggered by Its Own Folder Condition
It will not trigger inside the folder. What I reference is in a program an if condition can be the status if another program (e.g. the folder), in this case it's not the folder's conditions triggering the program it is the folders's status triggering the program.
-
Program To be Triggered by Its Own Folder Condition
#1 No. A folder status must be true for automatic condition (IF) evaluation of children. It does not trigger evaluation, this still requires and event/status-change/etc. You could have a sibling program (to the folder) run a programs (IF) condition when the folder becomes true. This may even work in the program itself. Be aware that if the programs condition condition is an event, it will fail (IF), as the event is not true (is not happening). If the condition is a status and is true it will run.
-
Programmaticall disabling writes to battery devices?
Perfect, I added an issue for investigation. ID: /udi/issues/21 We have a backlog currently due to eisy-ui roadmap, but have replicated the issue.
-
Programmaticall disabling writes to battery devices?
Ok so is the issue is the selected state does not persist after reboot?
-
Programmaticall disabling writes to battery devices?
I don't follow, maybe attach an image of the scene or program being used. Batter devices need to be awake to write, so writing is not something that should be done programmatically in most cases.
-
Disable Insteon Node in EISY-UI
For insteon there is not direct control of a button other than the load button. To control buttons they must be in a scene, so create a tile for the scene that has the C button.
-
Network Resources
See https://forum.universal-devices.com/topic/47131-is-network-resources-still-supported/#comment-407536
-
Is Network Resources still supported ?
No changes, it is still supported. View/Edit exists in eisy-ui beta. However there is a UI bug that has issues with escaped chars, better to use admin console to edit until fixed. https://forum.universal-devices.com/topic/47042-eisy-ui-is-getting-there-heres-where-we-stand/
- Offline?
- Offline?
-
Programming interface
The issue is eisy is event driven. Some things are not calculated unless the program is run or the event is received. So it would report the last status which could be incorrect, or would always be false in the case of events. Commenting lines then trigger would work better as it removes the confusing always false and allows reevaluation.
-
Programming interface
We are investigation commenting out lines, status per line could be very confusing.
- Offline?
-
Charts
Charts are on our lists. There are some prerequisites to favorites that need to be done first to allow correct tile movement and grid sizing for multiple screen sizes. We have internal examples working in web: