Reading sensors with Firmata

Hello

I've been playing with Firmata and I see how to read and write to the different Arduino pins. I'm working on a project that uses a sensor that communicated over "one wire" (DHT22 temp and humidity sensor). How would I read from this with Firmata? What about a sensor on I2C? I'm sure it's something simple I'm missing.

I don't have any code written since I don't know how to go about writing it yet.

Thank you for any help.

https://www.arduino.cc/en/reference/firmata

You will have to write special handlers for some message type. Probably SYSEX (SYStem EXclusive?)