-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adventurer3X Support #2
Comments
Hey there @taikun114! If the sensors don't work as expected then it most likely means Adventurer 3 and Adventurer 3X use different protocols to communicate with the outside world. It won't be as simple as changing the supported model in the dropdown. I only own Adventurer 3 so I can't help much with that. Sorry about that. |
I tried manually installing the edited file in custom_components and reconfiguring it, but it did not work. The camera, print progress, and status entities still work fine, but no other temperature sensors, etc. were displayed at all. I guess I'll just have to accept that Adventurer 3 and Adventurer 3X have different communication protocols with the outside world. |
Thanks for double checking that! If you want, you can try using Wireshark to analyse the traffic between your FlashForge app on your computer, and the printer. Here are the commands this integration uses to interact with Adventurer 3: https://github.com/modrzew/hass-flashforge-adventurer-3/blob/master/custom_components/flashforge_adventurer_3/protocol.py#L9-L11. Once you have that, you can pretty much fork this repo or try to write your own integration 🙂 |
Thanks for the reply. |
Ah, interesting. So the integration sends the status command ( The responses you posted are pretty much the same as the ones the integration is expecting... so maybe it's just my poorly written regular expression not matching it correctly? Maybe it's the whitespace? ¯\_(ツ)_/¯ Do you have Python available in your environment? If so, can you try running this snippet, replacing import socket
with socket.socket() as s:
s.connect(('1.2.3.4', 8899))
s.sendall(b'~M105\r\n')
data = s.recv(1024)
print(data) It'll open the connection with the printer and send the
|
I see. Indeed, I did not notice the space in front of slash. |
Hey @taikun114, sorry for the delay. I just pushed a small change to the temperature regexp to the master branch: a9d22da. Do you mind trying it out in your Home Assistant? You should be able to redownload it, making sure to select |
I tried it, but the temperature sensor, etc. is not displayed as before. |
I am using Adventurer3X. (probably a Japan-only model)
When I set it up with this custom integration, the camera, print progress, and status entities were added, but the temperature and other sensors do not show up.
This 3D printer is almost identical to the Adventurer3 (the only difference is that it supports metal filaments) and I think I can do it by renaming the supported models like the person in this issue ( #1 ), but I have no coding skills and know nothing about it, so I don't really know.
I would be very happy to support this.
Thanks.
The text was updated successfully, but these errors were encountered: