AQL-PS-8 Remote Emulator App

Has anyone had success running through the settings menu to change any values?

I just tried it and it does not seem to work at all and crashes in the code conversion with even a different byte (\xb3).

I just remembered that for the apps that I initially developed, I had to write a separate piece of code to convert the bytes into a string. The reason is that they add 128 to the byte value when the text is supposed to blink in the display which is not a standard conversion. I convert the blinks into [Text] to signify the current editing text. There are also other characters than need to be filtered out and changed.

Here is the code converted to python and I tested it out as well and seems to work although I have not gone through all of the menus either. I also updated core.py in github. Using switches for the menu buttons is less than ideal as well.

Code:
import string

    def Byte2string(self, frame):
        tStr = ""
        bStr = ""
        slen = len(frame)
        isplt = slen // 2
        for i in range(0, slen-1):
            if frame[i] == 0:
                break
            cc = chr(frame[i] - 128) if frame[i] >= 128 else chr(frame[i])
            if i < isplt:
                tStr += cc
            else:
                if frame[i] != 186 and (i == 0 or frame[i-1] != 186):
                    if frame[i] >= 128 and (i == 0 or frame[i-1] < 128):
                        bStr += "["
                    elif frame[i] < 128 and (i == 0 or frame[i-1] >= 128):
                        bStr += "]"
                bStr += cc
        if "[" in bStr and "]" not in bStr:
            bStr += "]"
        result = (tStr.strip() + "\n" + bStr.strip())
        return result.replace("  ", " ").replace("  ", " ").replace("_", "°").replace(" :", ":").replace("[ ", "[").replace(" ]", "]").strip()
 
I mispoke! app stopped working
1717375530945.png
Prior to this I was doing an unrelated procedure. Trying to set up an automation where opening a door turned on a light. But I did not mess with AQL at all.

Addendum: I just restored my backup from yesterday and Its working again. I wonder if there was a coincidence with above?
 
Last edited:
There could be some sort of conflict with the setup. Good thing you had a backup.

The other place you can look when you get errors is the file "home-assistant.log" in the config folder (Z: Drive). That can sometimes give you some more detail.
 
  • Like
Reactions: william13
Brilliant
1717379242604.png
Line 3 contained error. Not sure how that happened but it was related to what I did. Yes TG for the backup!
ps I was trying to create an automation that alerted me if I left my garage door open. No idea how this happened.
 
I finally received my EW11A and I’m trying to hook it up properly however I am not able to see the EW11 SSID. I’ve followed the setup page (AQL-PS-8 & EW11 Setup Instructions - Google Docs) and even tried reversing my configuration to make sure I was wiring things in the right order. Here’s my current setup:

IMG_2209.jpeg
IMG_2213.jpeg
IMG_2212.jpeg

It seems like my EW11A is receiving power because the green ethernet LED is on.

Am I missing anything?

Thanks!
 
You should see the SSID independent of the A/B wiring to the unit.

Are you using a wireless laptop nearby to search for it?

Could be a bad unit.

On a separate note:

Are you using shielded twisted pair wire? If not connection reliability may suffer. But this has nothing to do with the SSID not showing up.

If connected properly, you should see a flashing yellow light as well.
 
You should see the SSID independent of the A/B wiring to the unit.

Are you using a wireless laptop nearby to search for it?

Could be a bad unit.

On a separate note:

Are you using shielded twisted pair wire? If not connection reliability may suffer. But this has nothing to do with the SSID not showing up.

If connected properly, you should see a flashing yellow light as well.
I am using a nearby laptop to search for it yes! The green ethernet LED is solid, the yellow one does not light up. You said both should? The AquaLogic VCC should connect to the 5-18 VDC on the EW11 correct? Only the Ground and VCC/VDC would be required for the unit to work properly? Maybe I could try a continuity test with a multimeter? What would you recommend trying before calling it a bad unit? :(
Thanks
 
I am using a nearby laptop to search for it yes! The green ethernet LED is solid, the yellow one does not light up. You said both should?
Yes when fully operational.

The AquaLogic VCC should connect to the 5-18 VDC on the EW11 correct? Only the Ground and VCC/VDC would be required for the unit to work properly?
For the WiFi test yes.

Maybe I could try a continuity test with a multimeter? What would you recommend trying before calling it a bad unit? :(
Not sure what you test. The unit is clearly getting power and that is all it needs to show the SSID.

You can check for the SSID via a smartphone as well to make sure it isn't the laptop although I would not expect that.
 

Enjoying this content?

Support TFP with a donation.

Give Support
That version must have different wiring. This is what mine looks like:

H6zZ9D0yuqcsRzNR0SdDzqd2qmEH0E0EGwCRKa02ds7MxblMnacmlmGf_pmazu1CcAoCzWCDZWlsnAftlHcg5B43ckLRR6e8ipX_QKjUGQC8-nsQfbgHfp2-6YvqBmn8RhBr6QJvN-3gvBePl-pqfg
 
I want to use it with HA and sees EW11 Script v006 HA Mod.txt and EW11 Script v007.txt. Are both compatible with Home Assistant? I have a P4 and I'm seeing that @j4ydubs is trying to get this to work with HA too. Which script should I be using in this case?
 
I want to use it with HA and sees EW11 Script v006 HA Mod.txt and EW11 Script v007.txt. Are both compatible with Home Assistant? I have a P4 and I'm seeing that @j4ydubs is trying to get this to work with HA too. Which script should I be using in this case?
With his code or my code, you should use EW11 Script v007.txt.

But I recently made some modifications to HA code so that users can use the configuration menus. Not sure it has implemented in the other version.

 
I am having difficulties loading the script. Do I need to edit the extension of the .txt file? I select Import Script, then it ask me to confirm, when I do and check back, no script is showing, is it expected?
 
I am having difficulties loading the script. Do I need to edit the extension of the .txt file? I select Import Script, then it ask me to confirm, when I do and check back, no script is showing, is it expected?
How are you checking the script? Export? It won't show in the window.

You enter the full name, don't change the extension.
 
Looking at the UART section, I'm also not seeing any Received Bytes or Frames. I currently don't have my local screen connected as it's under repair? Do I need to have a local screen connected for this to work? That obviously independent of my script not loading.
 

Enjoying this content?

Support TFP with a donation.

Give Support