Updated IHC Alternative Service View

The IHC Alternative Service View application has been updated. If you have already installed it, you should get the update automatically when you start the application. If you do not already have it:

Donwload the installation here

If you don’t like the click once installer or can’t get it working, you can download the files without installation – see mono section below. Just unzip and run IhcAlternative.exe

If you are doing any interfacing with IHC you know it is annoying to have to look though the IHC project file to find resourced ids. This application makes it easier because you just select the resource in the project tree and you can see the id in the section the to lower right.

The installation and application are only signed by a self signed certificate so you will have to accept the warnings you get in windows. (If anyone know of a cheap/free code sign certificate or want to give me one, let me know)

Changes

The application now use another version of my IHC sdk using web references (the previous version uses Service references) to do the soap stuff. (Soap if the protocol used to talk to the IHC controller). I am going to release the IHC sdk soon, so you do not have to ask, you will get more details/explanation when that happens.

Misc crash bugs have been fixed.

Boolean, Integer and floating point resources are now all supported and can be monitored and changed.

Mono on Linux

It is now possible to run IHC Alternative service on Linux using mono. You can download the files here:

IHC alternative Service files 1.0.21

Unzip the files and run: mono IhcAlternative.exe

I have verified this on a Ubuntu running mono 4.2.1 (This an old version of mono but the version you get without having to compile it your self)

It may also work on a mac with mono, but I do not have the setup to verify that, so if anyone tries it please write the result in the comments below.

 

16 responses to “Updated IHC Alternative Service View”

  1. Kim says:

    Hi Jens.
    Just tried your alternative service view on windows 10. Cant get it to connect. Did you try this with an IHC controller using firmware 2.8.4?

    • Jens says:

      I have firmware 2.7.220 – the latest for Hardware version 6.1. and Windows 10. (I have also tried on Linux with mono – also working fine)
      Firmware 2.8.4 is the latest for Hardware 6.2
      Do you get any error? Do you use https:// – then try http://
      If anybody else has it working with hardware 6.2 – please reply.

  2. Kim says:

    2.8.4 do work on HW 6.1, even though LK says it doesn´t 🙂

    I tried both with and without https://
    I dont get any errors. The small window appear with authenfication, and then dissapear after 1-2 second.

    A short notice. I do NOT use the default ssl port. I have changed it to 777 insted. So my controller is located at:
    http://10.4.28.6:777
    or
    https://10.4.28.6:777

    Also tried without :777. This will make the authentification window show for a split second and then dissapear.

    It looks like it tries to connect using the https://IP:777, but cant.

    • Jens says:

      Did you use the installer or did you download the files? I just realized that I have forgot to update the link to the files – only the installer was the latest. The latest version is currently 1.0.21 If you tried an older version try 1.0.21
      I have not tried using other ports then the defaults.

  3. Kim says:

    The version I´d download an have problems with is 1.0.0.21.

  4. Patrick says:

    Where I can download the firmware you are talking about (2.8.4)?
    Im getting only old versions (2.7.220) via https://www.schneider-electric.de/de/download/search/ihc/?

    Maybe you can inform me where I can get the newest firmwares and software for my home 🙂

    Thanks in Advance!

    • Jens says:

      I donwload IHC firmware from the danisk LK web site:

      http://www.lk.dk/mit-lk/ihc-software

      (You need a login to get to the page – but anybody can register. The pages are in danish)
      The newest firmware for HW 6.1 is 2.7.220. I have not tried 2.8.4 on HW 6.1 (I did try an earlier version intended for HW 6.2 on HW 6.1 – and that did not work)

  5. Christian Klit says:

    I got this working on MacOS High Sierra 10.13.4 with Mono 5.14.0.177 using the command ‘mono –arch=32 IhcAlternative.exe’ 🙂

  6. Jens says:

    Hej Jeg kan ikke installer programmet på win 10

    OPLYSNINGER OM FEJL
    Følgende fejl blev fundet under handlingen.
    * [17-09-2018 17:34:59] System.Deployment.Application.InvalidDeploymentException (HashValidation)
    – Filen IhcAlternative.exe.config indeholder en anden beregnet hash-værdi end angivet i manifestet.
    – Kilde: System.Deployment

    • Jens says:

      Updater din Windows og .NET med nyeste opdateringer fra Microsoft (gennem windows update).
      I stedet for at bruge installationen så prøv at hente filerne (link på siden), udpak og kør manuelt.

  7. Lars Bach says:

    Følgende fejl når jeg forsøge at installer på min win10.

    Andre der oplever samme fejl? Forslag til læsninger?

    VERSIONSOPLYSNINGER OM PLATFORM
    Windows : 10.0.17134.0 (Win32NT)
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.7.3056.0 built by: NET472REL1
    clr.dll : 4.7.3190.0 built by: NET472REL1LAST_C
    dfdll.dll : 4.7.3056.0 built by: NET472REL1
    dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)

    KILDER
    Implementerings-URL : http://dingus.dk/download/ihcalternative/IhcAlternative.application
    Server : cloudflare
    Implementeringsprovider-URL : http://dingus.dk/download/ihcalternative/IhcAlternative.application
    Server : cloudflare
    Program-URL : https://dingus.dk/download/ihcalternative/Application%20Files/IhcAlternative_1_0_0_21/IhcAlternative.exe.manifest
    Server : cloudflare

    ID’ER
    Implementerings-id : IhcAlternative.application, Version=1.0.0.21, Culture=neutral, PublicKeyToken=2194063bba51e2f7, processorArchitecture=msil
    Program-id : IhcAlternative.exe, Version=1.0.0.21, Culture=neutral, PublicKeyToken=2194063bba51e2f7, processorArchitecture=msil, type=win32

    PROGRAMOVERSIGT
    * Program, der kan installeres.

    FEJLOVERSIGT
    Nedenfor vises en oversigt over fejlene. Detaljerede oplysninger om fejlene vises senere i logfilen.
    * Aktiveringen af http://dingus.dk/download/ihcalternative/IhcAlternative.application medførte en undtagelse. Følgende fejlmeddelelser blev fundet:
    + Filen IhcAlternative.exe.config indeholder en anden beregnet hash-værdi end angivet i manifestet.

    OVERSIGT OVER FEJL I KOMPONENTLAGERTRANSAKTIONER
    Der blev ikke fundet nogen transaktionsfejl.

    ADVARSLER
    Der blev ikke givet nogen advarsler under handlingen.

    STATUS FOR HANDLING
    * [27-10-2018 11:00:08] : Aktiveringen af http://dingus.dk/download/ihcalternative/IhcAlternative.application er startet.
    * [27-10-2018 11:00:09] : Behandlingen af implementeringsmanifestet er fuldført.
    * [27-10-2018 11:00:09] : Installationen af programmet er startet.
    * [27-10-2018 11:00:09] : Behandlingen af programmanifestet er fuldført.
    * [27-10-2018 11:00:11] : Den kompatible runtimeversion 4.0.30319 blev fundet.
    * [27-10-2018 11:00:11] : Anmodningen om tillid og registrering af platformen er fuldført.

    OPLYSNINGER OM FEJL
    Følgende fejl blev fundet under handlingen.
    * [27-10-2018 11:00:12] System.Deployment.Application.InvalidDeploymentException (HashValidation)
    – Filen IhcAlternative.exe.config indeholder en anden beregnet hash-værdi end angivet i manifestet.
    – Kilde: System.Deployment
    – Staksporing:
    ved System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
    ved System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
    ved System.Deployment.Application.ComponentVerifier.VerifyComponents()
    ved System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
    ved System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
    ved System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
    ved System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
    ved System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    — Afslutningen på staksporingen fra den tidligere placering, hvor undtagelsen blev udløst —
    ved System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    ved System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    ved System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

    TRANSAKTIONSOPLYSNINGER FOR KOMPONENTLAGER
    Der er ingen tilgængelige transaktionsoplysninger.

    • Jens says:

      Jeg gætter på at enten er der gået noget galt ved download så nogle filer er ødelagt – eller der er nogen at .NET filerne på din computer som er ødelagt eller ikke opdaterede. Du kan prøve at updatere med nyeste service pack til .NET fra Microsoft inden du prøver at installere igen. (Du kan gøre det via Microsoft update). Alternativt kan du hente filerne og køre den uden installation se under “Mono” sektion.

      • Christian Klit says:

        Hej Jens, jeg får præcis samme logfil når jeg prøver at installere på en Win7 maskine.

        Hvis jeg henter filerne og pakker dem ud manuelt kan jeg starte programmet, men i login-processen kommer denne besked https://imgur.com/VT8gfMP

        Så sidder en smule fast 🙁

        Mvh Christian Klit

        • Jens says:

          Det er ihc projektet som ikke kan hentes fra ihc controlleren. Jeg skal have lavet en bedre fejl besked når det sker. Endnu bedre hvis jeg viste hvordan problemet løses så projektet kan hentes. Prøv at genstarte ihc controlleren.

          • Christian Klit says:

            Tak for svar! Det giver mening, for det var faktisk samme besked Home Assistant gav mig i loggen – så derfor ville jeg prøve at indtaste hans wireless dimmers ID manuelt, da jeg måske troede det bare var en lille fejl i Home Assistant komponenten. Har ikke brugt auto-discovery siden du frigav komponenten, så vidste ikke om nogle af de nye opdateringer kunne have en negativ effekt.

            Vi har desværre prøvet at genstarte hans controller (min kollega), uden held. Men det er nok dér vi skal lede efter fejlen 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *