I thought you used to be able to just send serial text to that attribute
and have it logged correctly, but apparently not. Digging around the
RoomView demo program (available from the RVSE page, not the Fusion RV
page) seems to indicate that the DeviceUsage$ format is an overengineered
monstrosity:
makestring (To_RV_Device_Usage$,
"USAGE||-||-||TIME||%s||%s||-||%s||-||%s||%s||", // I think I'm in |-|3||
Asset_Type$, Asset_Name$, itoa(g_iLastUsedminutes), sAssetID, sMeetingID);
Fortunately it appears that sAssetID and sMeetingID can be "-", which is
good since I have no idea what I would set them to.
Anybody built a sane version of this module yet that doesn't wake up 12 S+
modules every 10 seconds just to increment a counter?
On Wed, Dec 5, 2012 at 12:53 PM, Lincoln King-Cliby <
lincoln@...> wrote:
**
I can't speak for the Device Usage serial, as I've never had occasion to
(or a client request to) use it, but for the ErrorMsg, the required format
is listed in the Help File, namely...
"Sends a formatted error message to RoomView, which displays a different
icon in the Log field depending on the severity of the error. (When the
operator clicks the error icon, a log file displays all logged events for
the selected room.)
The string must be formatted as follows:
<error severity>:<msg>
Where <error severity> is a severity code ranging from 0 to 4, and <msg>
is the error message.
Error codes are defined as follows:
0 = OK
1 = Notice
2 = Warning
3 = Error
4 = Fatal Error
If the error string is not formatted correctly, RoomView assigns a default
severity to the error and logs the entire string.
[...]"
--
Lincoln King-Cliby, CTS
Sr. Systems Architect | Crestron Certified Master Programmer (Silver)
ControlWorks Consulting, LLC
V: 440.449.1100 x1107 | F: 440.449.1106 | I:
Crestron Authorized Independent Programmer
-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On
Behalf Of Rob Beringer
Sent: Wednesday, December 05, 2012 12:28 PM
To: Crestron@...
Subject: [Crestron] Fusion RoomView DeviceUsage Serial Attribute
Hi Everyone,
I am trying to configure various control systems we have to send
information to fusion roomview using the default attributes that are in the
roomview module itself, as well as some custom attributes we have made.
Most seem to be OK, but we can't trigger reports from the 'DeviceUsage'
serial attribute that you can send roomview through the roomview module
(either version 7 or 8).
I was wondering if anyone had made alot of use of this serial string back
to roomview and knew if you have to construct the string in a certain way
for the roomview server to adequatley process it for reports? In a similar
way maybe to how the 'errormessage' serial string has to be constructed in
a certain way?
Any advice or experience you've had would be really great! I'm not sure if
this should work or not!
Cheers!
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links
--
Jeremy Weatherford
[Non-text portions of this message have been removed]