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

Firmware for NEDIS [WIFIP310FWT] Wi-Fi Smart Extension Socket | 3x Schuko Type F | 4x USB | 16 A #2272

Closed
mindtripper opened this issue Jun 5, 2020 · 6 comments · Fixed by #2275
Labels

Comments

@mindtripper
Copy link

Is there any precompiled firmware for Nedis Wi-Fi Smart Extension Socket | 3x Schuko Type F | 4x USB | 16 A available? I've looked, but haven't found anything.
Maybe there is a generic FW or FW for another device that is compatible?

Brand: Nedis
Vendor Part Number: WIFIP310FWT
EAN number: 5412810271795

Link to product page

@mcspr
Copy link
Collaborator

mcspr commented Jun 5, 2020

Tasmota Device Templates Repository project maintains an excellent device database:
https://templates.blakadder.com/nedis_WIFIP310FWT.html
Which we could use to reference GPIO settings, see on the right

@mindtripper
Copy link
Author

mindtripper commented Jun 5, 2020

Thanks again for the fast response and feedback. I'm impressed!

Yeah, I've seen that site and considered putting Tasmota on the device. But I'd prefer having a homogenous environment using ESPURNA. Can this device be added to the nightly builds list?

I can be the official tester :)

@mcspr
Copy link
Collaborator

mcspr commented Jun 5, 2020

What I meant was to c/p GPIO numbers from the page :) I'll add the profile, just need to fix local git setup.

For example, see:

// -----------------------------------------------------------------------------
// Zhilde ZLD-EU44-W
// http://www.zhilde.com/product/60705150109-805652505/EU_WiFi_Surge_Protector_Extension_Socket_4_Outlets_works_with_Amazon_Echo_Smart_Power_Strip.html
// -----------------------------------------------------------------------------
#elif defined(ZHILDE_EU44_W)
// Info
#define MANUFACTURER "ZHILDE"
#define DEVICE "EU44_W"
// Based on the reporter, this product uses GPIO1 and 3 for the button
// and onboard LED, so hardware serial should be disabled...
#define DEBUG_SERIAL_SUPPORT 0
// Buttons
#define BUTTON1_PIN 3
#define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
// Relays
#define RELAY1_PIN 5
#define RELAY2_PIN 4
#define RELAY3_PIN 12
#define RELAY4_PIN 13
#define RELAY5_PIN 14
#define RELAY1_TYPE RELAY_TYPE_NORMAL
#define RELAY2_TYPE RELAY_TYPE_NORMAL
#define RELAY3_TYPE RELAY_TYPE_NORMAL
#define RELAY4_TYPE RELAY_TYPE_NORMAL
#define RELAY5_TYPE RELAY_TYPE_NORMAL
// LEDs
#define LED1_PIN 1
#define LED1_PIN_INVERSE 1

Button, relays numbers are similar. (RELAY1_PIN, BUTTON1_PIN etc. flags)

@mindtripper
Copy link
Author

Being very curious I went ahead with tuya-covert and put Zhilde ZLD-EU44-W 1.15.0 daily build firmware on the device. As you say, it has similar GPIO setup and it works, but having a dedicated firmware would be better.

Looking at Zhilde ZLD-EU44-W firmware on NEDIS [WIFIP310FWT]
This is how this firmware works based on the picture above (top to bottom):
Switch #4
USB
Switch #0
Socket 1
Switch #1
Socket 2
Switch #3
Socket 3
Switch #2
N/A

I'll test the NEDIS build if you decide to add it 🥇

@mcspr
Copy link
Collaborator

mcspr commented Jun 7, 2020

I forgot what ANALOG flag means in Tasmota templates though. Something to do with ADC, but what exactly...

edit: wild guess, usb voltage? We can enable analog sensor and try to read it. At least what it seems like Tasmota code is doing when ANALOG (1) flag is set, I don't see any description of what it actually is.

@mcspr
Copy link
Collaborator

mcspr commented Jun 7, 2020

nedis-wifip310fwt-sensor is the 2nd bin, with ANALOG_SUPPORT sensor enabled

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

Successfully merging a pull request may close this issue.

2 participants