Suchen:

Art: Beiträge; Benutzer: yoggi

Seite 1 von 2 1 2

Suchen: Die Suche dauerte 0.00 Sekunden.

  1. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi paresy, I am looking at php socket right...

    Hi paresy,

    I am looking at php socket right now but it is above my current understanding of php (but I am trying to learn).

    You are correct, I need to block sending untill I have received...
  2. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi paresy, When you say that it is not...

    Hi paresy,

    When you say that it is not possible, are you referring to emulate blocking socket call or if it could be added I/O instances, Client Socket in the future?

    yoggi
  3. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi Symcon

    Hi,
    I was hoping for an answer from the creators of IPS to my qestion (two or three post up).

    Is it possible to emulate a blocking socket in a reliable way?

    Could you consider adding blocking...
  4. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi Symcon

    Hi IP Symcon creators,

    I am about to give up, but before I do that I would like to ask the people behind IP Symcon, is there a good way to emulate a TCP Client Socket connection in blocking mode?...
  5. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi Fonzo, Basically I can't get semaphore to...

    Hi Fonzo,

    Basically I can't get semaphore to work att all, I have tried simple examples (two scripts, one that sets semaphore and on that releases it) but I can never get semaphore to prevent any...
  6. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Hi paresy, Thanks for your answer but I think...

    Hi paresy,

    Thanks for your answer but I think I need additional help, any chansen you could provide me with a code example (everything I have tried has failed)?

    I am trying to send a command to...
  7. Thema: Semaphore

    von yoggi
    Antworten
    11
    Hits
    1,919

    Semaphore

    Hi,
    I'm trying to use IPS_SemaphoreEnter and IPS_SemaphoreLeave but I am having trouble using it. I have two functions one is send and the other is received and I want to use semaphore to prevent...
  8. Antworten
    3
    Hits
    875

    Hi Dr. Niels, I do understand that webSockets...

    Hi Dr. Niels,

    I do understand that webSockets will not automatically change anything (I have read up on WebSockets) but with the increase in response time and direct communication I was hoping...
  9. Antworten
    3
    Hits
    875

    WebSockets and UI

    Will the newly added WebSockets to IPS webserver (IPS 5.1) change the user interface of the phone app and web user interface? Will we be getting a more customizable and dynamic interface (ie. more...
  10. Antworten
    1
    Hits
    1,197

    Tradfri Zigbee with ZiGate

    Hi fellow IPS users,

    I found the ZiGate Zigbee usb gateway that I am tempted to buy and try to see if I can get it working with IPS and some Ikea Tradfri (Trådfri) lamps.

    In the documentation...
  11. Antworten
    13
    Hits
    2,304

    Hi Fonzo, Thanks for the code example and the...

    Hi Fonzo,

    Thanks for the code example and the help in general. I will have a good look at the semaphore.

    But I am trying to understand how IPS classes and object works vs normal OOP in PHP. At...
  12. Antworten
    13
    Hits
    2,304

    Dose IPS instantiate more than one object from my class?

    If yes, should it?

    In my class I have a private property named $isSending that start out as false. I then call PowerOn() from form.json ({ "type": "Button", "label": "Power On", "onClick":...
  13. Antworten
    13
    Hits
    2,304

    Hi Paresy, Regarding the documentation lacking...

    Hi Paresy,

    Regarding the documentation lacking or not, being a new beginner I am at a disadvantage and it would help if the explanations and code examples provided in the documentation where a bit...
  14. Antworten
    21
    Hits
    3,292

    Hi Fonzo, Using your PHP Modul Dataflow...

    Hi Fonzo,

    Using your PHP Modul Dataflow Generator I get a protected method named SendToIO(string $payload), what is the reson not to use the base class IPSModule ForwardData($JSONString) public...
  15. Antworten
    13
    Hits
    2,304

    Hi Fonzo, I wasn't sure if you where working...

    Hi Fonzo,

    I wasn't sure if you where working for Symcon or if you are a very dedicated user, I am guessing that you work for Symcon.

    Thanks for pointing me in the right direction regarding the...
  16. Antworten
    13
    Hits
    2,304

    IPSModule base class

    Hi IPS developers

    I am trying to get a better understanding of how IPS works (and what can be done) while learning oop php.

    I am trying get to a point where I can write a module of my own,...
  17. Antworten
    21
    Hits
    3,292

    Hi Fonzo, I am struggling a bit as to where to...

    Hi Fonzo,

    I am struggling a bit as to where to store these values, as private helper properties in the object (object from class) or as a variable in the object tree or somewhere else? I also...
  18. Antworten
    21
    Hits
    3,292

    Hi Fonzo, I am making progress but it's slow...

    Hi Fonzo,

    I am making progress but it's slow going as I am new to IPS and PHP.

    At the moment the module connects to (I am emulating the TV with Hercules SETUP utility) ip-address and port 6002...
  19. Antworten
    21
    Hits
    3,292

    Hi Fonzo, I appreciate your help, thanks! ...

    Hi Fonzo,

    I appreciate your help, thanks!

    You say I don't need the splitter (used with multiple IPs) but I used the "cutter" (Type, Char cutting, Right cut chars '0D', Hex) found under...
  20. Antworten
    21
    Hits
    3,292

    Hi Fonzo, I started to look into writing a...

    Hi Fonzo,

    I started to look into writing a module for my Aquos TV (as controlling it without is becoming quite messy) and I came across your PHP Modul Dataflow Generator and I am happy as is dose...
  21. Antworten
    24
    Hits
    3,132

    Hi Fonzo, Thanks for the translation linking...

    Hi Fonzo,

    Thanks for the translation linking and working late! But it's not needed as i use Chrome to translate the German webpages and it works just fine.

    If I learn enough PHP I'll try to...
  22. Antworten
    24
    Hits
    3,132

    How do I....

    Hi again,

    I need to temporally store what is clicked in the WebFront (what OnOff button I am trying to switch / what command should be sent to the TV) so that I can pair it up with the reply I...
  23. Antworten
    24
    Hits
    3,132

    I'll have a try at this, thanks for your help! ...

    I'll have a try at this, thanks for your help!

    yoggi
  24. Antworten
    24
    Hits
    3,132

    Yes this makes more sense...

    Hi again,

    Yes this makes more sense to me now... but I have one question...

    Should I use something along the lines of


    SetValueBoolean(52847 /*[Aquos TV\Dummy Module Aquos TV\Power]*/,...
  25. Antworten
    24
    Hits
    3,132

    Hi Fonzo, Thanks for helping! I have been...

    Hi Fonzo,

    Thanks for helping!

    I have been thinking along the same lines but my problem is were to put these things and how to get them working together.

    Eg.

    SetValue($_IPS['VARIABLE'],...
Ergebnis 1 bis 25 von 45
Seite 1 von 2 1 2