Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting "A network or server error" #16

Open
wyxsmarthome opened this issue Oct 20, 2020 · 4 comments
Open

I am getting "A network or server error" #16

wyxsmarthome opened this issue Oct 20, 2020 · 4 comments

Comments

@wyxsmarthome
Copy link

wyxsmarthome commented Oct 20, 2020

I flash my CE dimmer with Tasmota and upgrade to 8.5.0
Followed the steps to add the device as a 'Generic dimmer switch', but it gave me 'A network or server error' when I tried to control it.
In the console of the Tasmota, I see logging "07:31:10 RSL: stat/tasmota/RESULT = {"Command":"Error"}"

It seems now I can control it after set the module. But it has problem to return states

Any idea?

@wyxsmarthome wyxsmarthome changed the title I am getting I am getting "A network or server error" Oct 20, 2020
@vfmunhoz
Copy link

I have the same issue using a sonoff mini device running tasmota 9.1.0 with the generic switch as my device handler

@vfmunhoz
Copy link

I have the same issue using a sonoff mini device running tasmota 9.1.0 with the generic switch as my device handler

looking at the device handler's code and the st's configuration i could find that i might have a "DNI" issue, i'm just not sure about what's the meaning of DNI.

In st's tasmota configuration there's (!!!) by the side of the ip configuration, that's why i got to this point, but i'm still clueless of the issue

@hongtat
Copy link
Owner

hongtat commented Nov 11, 2020

Do you have a physical ST hub v2 or v3?
Are the Tasmota device and ST hub on the same subnetwork?

@vfmunhoz
Copy link

it's a V3 hub and yes, they're in the same subnetwork.
looking further i just found out that the dni retrieved from tasmota's device is correct but the dni in ST's configuration is been resolved to null

if (childSetting(it.id, "ip") != null) {
    String dni = it.state?.dni
    descText = childSetting(it.id, "ip")
    if ((dni != null && dni != actualDni) || (dni == null)) {
        descText += ' (!!!)'
    }
}

this piece of code is where i'm currently checking, although i believe that i have just a miss configuration somewhere.
for some reason the String dni = it.state?.dni is returning null and probably that's causing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants