Announcement

Collapse
No announcement yet.

MCS Tempereature and HS3 plans

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Michael, I know this is a pretty old discussion but I just ran across it.

    I took down my HS2 operation in 2014 and at the time was running xapmcs1wire, xapmcschart, xapmcsdatabase, and xapmcshub. I have been running HS3 in a new house but never tried to install any 1-wire devices. Now I am looking at ways to get 1-wire data back into HS3. I have downloaded xapmcsOWServer_1_0_0_1_HS3.zip after finding this discussion and installed it. When I execute xapmcsOWServer.exe I get the icon in the system tray, but when I right-click on the icon and select one of the three options my web browser times out and says the web page can't be displayed. The web address when I right click xapmcsOWserver is http://localhost:8029/stat. I am running xFx-express hub for my xap hub and xFx-viewer.

    The data below is from the console of the xFx hub. There is a line right after I start the OW server that says HTTP Server New Line 0 Access is denied Line 0 Access is denied.

    Any ideas? I am running on Win7.


    30-Sep-19 13:50:42.9 INFO Initialising xFx-Express Hub on command line
    30-Sep-19 13:50:42.9 INFO Hit Return to exit
    30-Sep-19 13:50:42.9 DEBUG Initialising...
    30-Sep-19 13:50:42.9 DEBUG Using counter Messages in / sec as RateOfCountsPerS
    econd32
    30-Sep-19 13:50:42.9 DEBUG Using counter Messages out / sec as RateOfCountsPer
    Second32
    30-Sep-19 13:50:42.9 DEBUG Using counter Hub clients as NumberOfItems32
    30-Sep-19 13:50:42.9 DEBUG Category xAP exists
    30-Sep-19 13:50:43.0 INFO Starting...
    30-Sep-19 13:50:43.0 INFO xFx.Hub.Dev2 UID=FF.088F65FB:0000 (v13)
    30-Sep-19 13:50:43.0 INFO Selected Ethernet network interface 'Local Area Conne
    ction' Realtek PCIe GBE Family Controller
    30-Sep-19 13:50:43.0 INFO Transmit to: 192.168.0.255:3639
    30-Sep-19 13:50:43.0 INFO Listening on: 192.168.0.27:3639
    30-Sep-19 13:50:43.0 DEBUG Net setup OK
    30-Sep-19 13:50:43.0 DEBUG Hub message forwarding loop starts
    30-Sep-19 13:50:43.0 INFO Starting hub heartbeat, interval 60 seconds
    30-Sep-19 13:50:43.0 DEBUG Sending heartbeat to 192.168.0.255:3639
    30-Sep-19 13:50:43.0 DEBUG Receive 110 bytes from 192.168.0.27:65507 xap-hbeat {
    v=13 hop=1 uid=FF.088F65FB:0000 class=xap-hbeat.alive source=xFx.Hub.Dev2 inter
    val=60 port=3639 }
    30-Sep-19 13:50:44.4 DEBUG Create counter object for Messages in / sec
    30-Sep-19 13:50:44.4 DEBUG Create counter object for Messages out / sec
    30-Sep-19 13:50:44.4 DEBUG Create counter object for Hub clients
    30-Sep-19 13:50:44.4 DEBUG Done
    30-Sep-19 13:50:49.1 DEBUG Receive 110 bytes from 192.168.0.27:65509 xap-hbeat {
    v=13 hop=1 uid=FF.0105:00 class=xap-hbeat.alive source=mcs.OWServer.DEV2 interv
    al=60 port=65508 }
    30-Sep-19 13:50:49.1 INFO Register mcs.OWServer.DEV2 on port 65508, timeout 13:
    52:49
    30-Sep-19 13:50:49.1 DEBUG Forward to 1 local client: 65508
    30-Sep-19 13:50:49.1 DEBUG Receive 217 bytes from 192.168.0.27:65510 xap-header
    { v=13 hop=1 uid=FF.0105:00 class=Homeseer.Event source=mcs.OWServer.DEV2 } Even
    t.Log { Time=9/30/2019 1:50:49 PM Type=XapmcsOWServer Data=HTTP Server New Line
    0 Access is denied Line 0 Access is denied }

    30-Sep-19 13:50:49.1 DEBUG Forward to 1 local client: 65508
    30-Sep-19 13:50:49.1 DEBUG Receive 174 bytes from 192.168.0.27:65511 xap-header
    { v=13 hop=1 uid=FF.0105:00 class=Homeseer.Event source=mcs.OWServer.DEV2 } Even
    t.Log { Time=9/30/2019 1:50:49 PM Type=XapmcsOWServer Data=Using xAP port 65508
    }
    30-Sep-19 13:50:49.1 DEBUG Forward to 1 local client: 65508
    30-Sep-19 13:51:43.0 DEBUG Sending heartbeat to 192.168.0.255:3639
    30-Sep-19 13:51:43.0 DEBUG Receive 110 bytes from 192.168.0.27:65507 xap-hbeat {
    v=13 hop=1 uid=FF.088F65FB:0000 class=xap-hbeat.alive source=xFx.Hub.Dev2 inter
    val=60 port=3639 }
    30-Sep-19 13:51:43.0 DEBUG Forwarded 4 messages during the last 60 seconds. 1 cl
    ient.
    30-Sep-19 13:51:43.0 DEBUG Forward to 1 local client: 65508

    Comment


    • #17
      Are you invoking the application with right-click run-as-administrator? Low level hardware access (Ethernet sockets) requires elevated privileges.

      OWServer is a product made by Embedded Data Systems. xapmcsOWServer interfaces with it using IP connection. It is not the same interface as xapmcs1wire that uses DS9097U or DS9490 which are serial and USB respectively.

      Comment


      • #18
        Michael, thanks for the quick reply.

        After looking at the different posts in this discussion I see where I got confused. Post #6 refers to xapmcsOneWire. Then post #8 refers to xapmcsOWServer. I guess that was a response to post 7 question about the EDS server.

        My intention is to re-use my DS9490 USB adapters. Is xapmcsOneWire and what I had running on my HS2 machine, xapmcs1wire, the same thing? Should xapmcs1wire run on HS3 with the HS3 version of mcsxap?

        Comment


        • #19
          xapmcs1wire produces Xap protocol that is recognized by mcsXap on HS3. The issues that exists is obsolesce as one updates their OS. I run mcsXap1wire on XP and not W7. I did a migration from dependence on Microsoft JVM (VB6) to one that requires Microsoft J+ as part of .NET. Microsoft dropped support of J+ pretty early in the life of .NET. I just don't remember if I ever ran it on W7.

          If doing only temperature DS18B20 sensors for 1-wire then the ESP8266 (e.g. Sonoff) becomes a good host with MQTT replacing XAP as the communication protocol. This is mcsMQTT rather than mcsXap. I have always planned to go deeper and do more types than temperature sensors, but never had sufficient motivation since my XP install is still working. The DS2409 is the one that scares me as that implies a hierarchy of control and not just a simple interface.I have actually moved away from 1-wire for new interfaces in favor of WiFi and ESP8266/MQTT. I updated xapmcsChart and xapmcsDatabase to play in the MQTT world of IOT devices. Current technology is Influx for DB and Grafana for the charting. There is much on the internet about using these.

          Comment

          Working...
          X